Tuesday, April 19, 2011
Android STIG
An update to the STIG Development and Release Schedule on the DISA STIG page shows a STIG is in development for Android. It looks like the Technical Interchange Meeting (TIM) is scheduled for July 19, 2011; and the Defense Information Assurance Security Accreditation Working Group (DSAWG) is scheduled for September 2011.
Practice/Test Forensice Images
I passed my GCFA about a year ago; and forensics and incident response have been my passion. However, as a DoD auditor, I don't get to the forensics and incident response jobs as much as I would like. Auditing is great, and I've been exposed to more and more of the offensive side of the security fence than I would have guessed. As a former application developer, I have gravitated towards the application pen-testing arena; and have learned much and really like it.
To that end, I feel my forensics skills getting a little rusty. So, I've been looking for ways to stay sharp. I started compiling a list of the various sites that housed test images. And in the process, I found that Forensic Focus has a good list:
Forensic Focus Test Images and Forensic Challenges
I'll update this post with other sites and compendiums that I find in the future.
To that end, I feel my forensics skills getting a little rusty. So, I've been looking for ways to stay sharp. I started compiling a list of the various sites that housed test images. And in the process, I found that Forensic Focus has a good list:
Forensic Focus Test Images and Forensic Challenges
I'll update this post with other sites and compendiums that I find in the future.
Friday, April 15, 2011
Scripting the retrieval of the warning banner (legal notice) when pushed by Group Policy
As an auditor, one of the controls I constantly come up against is ECWM-1, which states:
So, there is the question of how to look at all of those warning banners. Or, at least, how to look at a representational sample. There are many references on how to set a warning banner on a local host. The text you want to display as a banner gets added to the following key:
hklm\software\microsoft\windows nt\current version\winlogon and the key is LegalNoticeText
However, in these enterprise systems and enclaves, the warning banner is almost always pushed down to the workstation by Group Policy. That key is: hklm\software\microsoft\Windows\CurrentVersion\Policies\system and the key is LegalNoticeText.
To script this out, I do:
objShell.Run "cmd /c reg query ""hklm\software\microsoft\Windows\CurrentVersion\Policies\system"" /v LegalNoticeText >" legalnotice.txt
Now, I have a copy of the warning banner which I can inspect for compliance later on.
All users are warned that they are entering a Government information system, and areAll workstations, servers, applications, networking gear, and other hosts must have a specific banner. (I'm aware of exceptions, but I'm discussing that first-line of defense to an asset, the warning banner.) Gold Disk, in its latest incarnation does not appear to actively check for the banner; in the tests that I have run, it marks the check as NR and must be manually reviewed. Doing this for a machine or two is not bad. However, many times I am working an enterprise system where there man be many servers and hundreds of workstations. To solve that issue I wrap up many tools (including Gold Disk and Oval) in a a script in order to deploy the script and collect the results automagically. Usually, I'll set up a share on a server where all servers and workstations can automatically dump their results.
provided with appropriate privacy and security notices to include statements informing
them that they are subject to monitoring, recording and auditing.
So, there is the question of how to look at all of those warning banners. Or, at least, how to look at a representational sample. There are many references on how to set a warning banner on a local host. The text you want to display as a banner gets added to the following key:
hklm\software\microsoft\windows nt\current version\winlogon and the key is LegalNoticeText
However, in these enterprise systems and enclaves, the warning banner is almost always pushed down to the workstation by Group Policy. That key is: hklm\software\microsoft\Windows\CurrentVersion\Policies\system and the key is LegalNoticeText.
To script this out, I do:
objShell.Run "cmd /c reg query ""hklm\software\microsoft\Windows\CurrentVersion\Policies\system"" /v LegalNoticeText >" legalnotice.txt
Now, I have a copy of the warning banner which I can inspect for compliance later on.
Tuesday, April 5, 2011
Mac OS X 10.5 STIG update
According to the DISA STIG page, DISA has released the Mac OS X 10.5 STIG, Version 1, Release 1.
Wednesday, March 23, 2011
IIS 7.0 STIG released
DISA has released a STIG for IIS 7.0. You can find the STIG here:
I cracked open the .zip file and confirmed that there is guidance for both a site and a server.
Comments, recommended changes, and/or additions are due to DISA by 21 April 2011.
I'm glad that this STIG has been released, as I'm seeing more IIS 7.0 servers.
Monday, March 21, 2011
Case for a tablet
I've been thinking of getting a tablet...just something to store books on. And, if I can root it, maybe some Android Apps. I haven't settled on one, but I'm toying with the idea. However, I saw this case, and think it's pretty cool. Practical? I'm not sure, but I like it.
Friday, March 18, 2011
Windows 2008 Server R2 draft STIG has been released
DISA has released the draft of the Windows 2008 Server R2 STIG. You can find the STIG here:
http://iase.disa.mil/stigs/os/windows/2008.html
Comments, changes, and additions are requested by March 25, 2011.
http://iase.disa.mil/stigs/os/windows/2008.html
Comments, changes, and additions are requested by March 25, 2011.
Thursday, March 10, 2011
Is a DLL an application?
Almost every auditing trip I take has an application of some sort; it is rare that I do not have to apply the Application Security and Development checklist. Quite frequently, the discussion arises as to "what IS an application?" It seems the answer is not cut and dry.
Certainly, we can make the depiction from GOTS (government) and COTS (commercial) applications. Further, COTS auditing is different from GOTS testing. Below are some quotes from the Application Security and Development STIG.
From the glossary:
Desktop applications, thick client applications, web services, and web applications are pretty easy to understand and relate to the definitions. However, where does a DLL fit in the mix? I have worked with many vendors that design hardware and software for DoD entities. Typically, the application is written to manage or facilitate use of the hardware. But, how about a DLL that is written as an interface for software and distinct hardware? Does the creation of that DLL fall under the guidance of the Application Security and Development checklist?
This is a discussion we are having with one particular client and I would be interested in thoughts, citations and references for either side of the argument.
Certainly, we can make the depiction from GOTS (government) and COTS (commercial) applications. Further, COTS auditing is different from GOTS testing. Below are some quotes from the Application Security and Development STIG.
From the glossary:
Application - Software program that performs a specific function directly for a user and can be executed without access to system control, monitoring, or administrative privileges. Examples include office automation, e-mail, web services, and major functional or mission software programs.
Automated Information System (AIS) Application - For DoD IA purposes, an AIS application is the product or deliverable of an acquisition program, such as those described in DoDD 5000.1. An AIS application performs clearly defined functions for which there are readily identifiable security considerations and needs that are addressed as part of the acquisition. An AIS application may be a single software application (e.g., Integrated Consumable Items Support (ICIS)); multiple software applications that are related to a single mission (e.g., payroll or personnel); or a combination of software and hardware performing a specific support function
across a range of missions (e.g., Global Command and Control System (GCCS), Defense
Messaging System (DMS)). AIS applications are deployed to enclaves for operation and have their operational security needs assumed by the enclave. (Note: An AIS application is analogous to a "major application," as defined in OMB A-130; however, this term is not used in order to avoid confusion with the DoD acquisition category of Major Automated Information System (MAIS).)
Government off-the-shelf (GOTS) - software and hardware products developed and tailored specifically for government agencies by a government agency itself or in cooperation with a external vendor or contractor. These products are developed for redistribution to other government agencies. Custom developed code being developed by an external source, does not automatically qualify as GOTS.
Desktop applications, thick client applications, web services, and web applications are pretty easy to understand and relate to the definitions. However, where does a DLL fit in the mix? I have worked with many vendors that design hardware and software for DoD entities. Typically, the application is written to manage or facilitate use of the hardware. But, how about a DLL that is written as an interface for software and distinct hardware? Does the creation of that DLL fall under the guidance of the Application Security and Development checklist?
This is a discussion we are having with one particular client and I would be interested in thoughts, citations and references for either side of the argument.
Saturday, March 5, 2011
Recovering from a Blue Screen after upgrading XP to Service Pack 3 from Service Pack 2
I received a laptop that had XP Service Pack 2 on it. During the reboot after installing Service Pack 3, the laptop blue screened. I could not get in at all. A little elbow grease and some googling, and I was able to get back to where I was before the original upgrade. Here are the steps I took.
1. As I could not get past the blue screen, I had to use recovery console. Put an XP cd in the drive and boot the machine. (Of course, on my machine, I had change the boot order in BIOS.)
2. Press any key to boot from the CD.
3. When the "Welcome to Setup" message appears, press R to start the Recovery Console.
4. Select the Windows XP installation (I had only 1.)
5. Enter the admin password (a miracle that I had this.)
6. When you get the command prompt, type: cd $ntservicepackuninstall$\spunist and hit enter.
7. When you get a prompt back, type: batch spuninst.txt and hit enter.
(You will see error messages and files being copied, this is normal.)
8. Remove your cd.
9. When you get your prompt back, type: exit and hit enter
10. Restart the computer in safe mode.
11. Log in as administrator.
12. Either open Control Panel, or Start -> Run and type: appwiz.cpl
13. Click the check box to Show Updates.
14. Scroll and find Windows XP Service Pack 3...and click remove.
15. Click Finish to restart the computer after the removal process is finished.
Now, I have to re-apply Service Pack 3 to get this computer up to date. But, at least I'm beyond the blue screen.
1. As I could not get past the blue screen, I had to use recovery console. Put an XP cd in the drive and boot the machine. (Of course, on my machine, I had change the boot order in BIOS.)
2. Press any key to boot from the CD.
3. When the "Welcome to Setup" message appears, press R to start the Recovery Console.
4. Select the Windows XP installation (I had only 1.)
5. Enter the admin password (a miracle that I had this.)
6. When you get the command prompt, type: cd $ntservicepackuninstall$\spunist and hit enter.
7. When you get a prompt back, type: batch spuninst.txt and hit enter.
(You will see error messages and files being copied, this is normal.)
8. Remove your cd.
9. When you get your prompt back, type: exit and hit enter
10. Restart the computer in safe mode.
11. Log in as administrator.
12. Either open Control Panel, or Start -> Run and type: appwiz.cpl
13. Click the check box to Show Updates.
14. Scroll and find Windows XP Service Pack 3...and click remove.
15. Click Finish to restart the computer after the removal process is finished.
Now, I have to re-apply Service Pack 3 to get this computer up to date. But, at least I'm beyond the blue screen.
Thursday, March 3, 2011
Ars Technica and HBGary
I'm not going to re-hash the HBGary story; Ars Technica has done a great job of following and chronicling the story.
Here are some of the great pieces I've read:
The Aftermath
How one security firm tracked down Anonymous - and paid a heavy price
Black ops: How HBGary wrote backdoors for the government
I'll add more as I read more of their work. Great stuff.
Here are some of the great pieces I've read:
The Aftermath
How one security firm tracked down Anonymous - and paid a heavy price
Black ops: How HBGary wrote backdoors for the government
I'll add more as I read more of their work. Great stuff.
Subscribe to:
Posts (Atom)