Skip to content

Initial check in of 10-tech-lab.adoc.#89

Open
ourpalal wants to merge 33 commits into
dm-academy:masterfrom
ourpalal:master
Open

Initial check in of 10-tech-lab.adoc.#89
ourpalal wants to merge 33 commits into
dm-academy:masterfrom
ourpalal:master

Conversation

@ourpalal

Copy link
Copy Markdown
Contributor

Ported in and updated 10-tech-lab.adoc from the dm-academy/aitm-labs repository.

@CharlesTBetz CharlesTBetz left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Number of things I need you to address before I can accept this in lieu of final.

Comment thread week-10/10-tech-lab.adoc Outdated

=== Getting started

Start up a Virtual Machine, login to your personal server, perform an update and install lynis.

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

please mention via Google cloud console

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

OK. Do you want me to show how to create a VM in the Google Cloud Console? Do you want me to refer to Lab 01 if students can't remember how to create a VM from the command line?

Comment thread week-10/10-tech-lab.adoc Outdated
=== Getting started

Start up a Virtual Machine, login to your personal server, perform an update and install lynis.
Lynis will not be installed in the directory you are currently in. Use the 'find' command to determine where it was installed.

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

At this point, they have not tried to install Lynis, so a search will not find anything.

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Fixed

Comment thread week-10/10-tech-lab.adoc Outdated

Start up a Virtual Machine, login to your personal server, perform an update and install lynis.
Lynis will not be installed in the directory you are currently in. Use the 'find' command to determine where it was installed.
Once you know where it got downloaded, run 'audit system' with the --quick option (don't wait for user input). Lynis will generate hundreds

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

please spell out command exactly

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Fixed

Comment thread week-10/10-tech-lab.adoc Outdated
Start up a Virtual Machine, login to your personal server, perform an update and install lynis.
Lynis will not be installed in the directory you are currently in. Use the 'find' command to determine where it was installed.
Once you know where it got downloaded, run 'audit system' with the --quick option (don't wait for user input). Lynis will generate hundreds
of findings that will scroll off your display. Redirect the lynis output to a file, e.g. lynis_out, so you can view it later.

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

provide an example with a > redirect operator

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Made command clearer.

Comment thread week-10/10-tech-lab.adoc
https://cisofy.com/controls/AUTH-9286/
....

Let's fix the minium and maxium password age issue in login.defs.

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Did you validate that this was an issue on the current default Google VM? And the fix is still relevant?

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This issue is still relevant along with the fix. Do you want me to add an image of the before and after result?

Comment thread week-10/10-tech-lab.adoc
* Create a new VM and run the vulnerability scanner.
* Save the output to a text file, named "initial-output.log"
* Run the necessary commands to fix the vulnerability.
* Put them into a shell script.

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I would like them to create a hardened Packer image for extra credit.

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I added the comment, you'll have to review and let me know if I worded it the way you want.

Comment thread week-10/10-tech-lab.adoc Outdated
(if time)

When you have reflected enough on the Java deserialization vulnerability and the implications of that article, move on to a Web vulnerability. We will install
Java and apache2 on your VM. (Don't try to install these on the main server; you won't be able to.)

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

We don't use a "main server" anymore. That's the kind of thing I need cleaned up.

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

they can use the same VM, mention this.

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Fixed.

Comment thread week-10/10-tech-lab.adoc

NOTE: You will get raw XML dumped to the terminal. You can cut and paste this to an *.xml document on your workstation and open it with a browser for an easier view.

=== Optional ITSM process

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

the ITSM section should reference JIra SD not ITOP.

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Fixed.

Comment thread week-10/10-tech-lab.adoc Outdated

=== ZAP
https://github.com/zaproxy/zaproxy
https://github.com/zaproxy/zaproxy/releases/download/2.4.0/ZAPGettingStartedGuide-2.4.pdf

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

probably outdated

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Fixed

Comment thread week-10/10-tech-lab.adoc


== Tools
The following tools were evaluated as part of developing this lab.

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Validate that all these links still work- please

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The links worked, but point to outdated material. I removed most of them.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants