Saturday, September 13, 2014
It's Friday night / early Saturday morning.
I should be in bed, sleeping.
I was, but awoke full-on. Sometimes that happens.
I stumbled upon a new tool this morning.
This is what happens when your mind wanders into the Information Security sector of the Internet.
I was perusing my gmail email account and a LinkedIn group that I subscribe to pushed an email that looked interesting. One thing, actually one link lead to another and I found myself at a reverse engineering page that described a dissection of some malware.
Then, a reference to a reverse engineering tool I am not familiar with was mentioned.
That tool is PEStudio.
You can find it here.
http://www.winitor.com/
As a security tool it looks promising. I love good code. I love code that does what the author says it does. Have downloaded and will be investigating more in the AM over some coffee and breakfast.
- Ciao
Saturday, May 3, 2014
Windows XP - Local Policies, Audit Policy - Setting SecEvent.evt Logs
Windows XP SP3
Local Policies, Audit Policy
Personal notes:
- Increase the log size to 4096 KB
- "Overwrite events as needed" - Radio Button
------------------------------------------------------------------------------------------
Audit account logon events
This security setting determines whether to audit each instance of a user logging on to or logging off from another computer in which this computer is used to validate the account. Account logon events are generated when a domain user account is authenticated on a domain
controller. The event is logged in the domain controller's security log. Logon events are generated when a local user is authenticated on a local computer. The event is logged in the local security log. Account logoff events are not generated.
If you define this policy setting, you can specify whether to audit successes, audit failures, or not audit the event type at all. Success audits generate an audit entry when an account logon attempt succeeds. Failure audits generate an audit entry when an account logon attempt fails.
To set this value to No auditing, in the Properties dialog box for this policy setting, select the Define these policy settings check box and clear the Success and Failure check boxes.
If success auditing for account logon events is enabled on a domain controller, an entry is logged for each user who is validated against that domain controller, even though the user is actually logging on to a workstation that is joined to the domain.
Default: Success.
------------------------------------------------------------------------------------------
Audit account management
This security setting determines whether to audit each event of account management on a computer. Examples of account management events include:
A user account or group is created, changed, or deleted.
A user account is renamed, disabled, or enabled.
A password is set or changed.
If you define this policy setting, you can specify whether to audit successes, audit failures, or not audit the event type at all. Success audits generate an audit entry when any account management event succeeds. Failure audits generate an audit entry when any account management event fails.
To set this value to No auditing, in the Properties dialog box for this policy setting, select the Define these policy settings check box and clear the Success and Failure check boxes.
Default:
Success on domain controllers.
No auditing on member servers.
------------------------------------------------------------------------------------------
Audit directory service access
This security setting determines whether to audit the event of a user accessing an Active Directory object that has its own system access control list (SACL) specified.
By default, this value is set to no auditing in the Default Domain Controller Group Policy object (GPO), and it remains undefined for workstations and servers where it has no meaning.
If you define this policy setting, you can specify whether to audit successes, audit failures, or not audit the event type at all. Success audits generate an audit entry when a user successfully accesses an Active Directory object that has a SACL specified. Failure audits generate an audit entry when a user unsuccessfully attempts to access an Active Directory object that has a SACL specified. To set this value to No auditing, in the Properties dialog box for this policy setting, select the Define these policy settings check box and clear the Success and Failure check boxes.
Note that you can set a SACL on an Active Directory object by using the Security tab in that object's Properties dialog box. This is the same as Audit object access, except that it applies only to Active Directory objects and not to file system and registry objects.
Default:
Success on domain controllers.
Undefined for a member computer.
------------------------------------------------------------------------------------------
Audit logon events
This security setting determines whether to audit each instance of a user logging on to or logging off from a computer.
Account logon events are generated on domain controllers for domain account activity and on local computers for local account activity. If both account logon and logon audit policy categories are enabled, logons that use a domain account generate a logon or logoff event on the workstation or server, and they generate an account logon event on the domain controller. Additionally, interactive logons to a member server or workstation that use a domain account generate a logon event on the domain controller as the logon scripts and policies are retrieved when a user logs on. For more information about account logon events, see Audit account logon events.
If you define this policy setting, you can specify whether to audit successes, audit failures, or not audit the event type at all. Success audits generate an audit entry when a logon attempt succeeds. Failure audits generate an audit entry when a logon attempt fails.
To set this value to No auditing, in the Properties dialog box for this policy setting, select the Define these policy settings check box and clear the Success and Failure check boxes.
Default: Success.
------------------------------------------------------------------------------------------
Audit object access
This security setting determines whether to audit the event of a user accessing an object—for example, a file, folder, registry key, printer, and so forth—that has its own system access control list (SACL) specified.
If you define this policy setting, you can specify whether to audit successes, audit failures, or not audit the event type at all. Success audits generate an audit entry when a user successfully accesses an object that has an appropriate SACL specified. Failure audits generate an audit entry when a user unsuccessfully attempts to access an object that has a SACL specified.
To set this value to No auditing, in the Properties dialog box for this policy setting, select the Define these policy settings check box and clear the Success and Failure check boxes.
Note that you can set a SACL on a file system object using the Security tab in that object's Properties dialog box.
Default: No auditing.
------------------------------------------------------------------------------------------
Audit policy change
This security setting determines whether to audit every incident of a change to user rights assignment policies, audit policies, or trust policies.
If you define this policy setting, you can specify whether to audit successes, audit failures, or not audit the event type at all. Success audits generate an audit entry when a change to user rights assignment policies, audit policies, or trust policies is successful. Failure audits generate an audit entry when a change to user rights assignment policies, audit policies, or trust policies fails.
To set this value to No auditing, in the Properties dialog box for this policy setting, select the Define these policy settings check box and clear the Success and Failure check boxes.
Default:
Success on domain controllers.
No auditing on member servers.
------------------------------------------------------------------------------------------
Audit privilege use
This security setting determines whether to audit each instance of a user exercising a user right.
If you define this policy setting, you can specify whether to audit successes, audit failures, or not audit this type of event at all.
Success audits generate an audit entry when the exercise of a user right succeeds. Failure audits generate an audit entry when the exercise of a user right fails.
To set this value to No auditing, in the Properties dialog box for this policy setting, select the Define these policy settings check box and clear the Success and Failure check boxes.
Default: No auditing.
Audits are not generated for use of the following user rights, even if success audits or failure audits are specified for Audit privilege use. Enabling auditing of these user rights tend to generate many events in the security log which may impede your computer's performance. To audit the following user rights, enable the FullPrivilegeAuditing registry key.
Bypass traverse checking
Debug programs
Create a token object
Replace process level token
Generate security audits
Back up files and directories
Restore files and directories
Caution:
Incorrectly editing the registry may severely damage your system. Before making changes to the registry, you should back up any valued data on the computer.
------------------------------------------------------------------------------------------
Audit process tracking
This security setting determines whether to audit detailed tracking information for events such as program activation, process exit, handle duplication, and indirect object access.
If you define this policy setting, you can specify whether to audit successes, audit failures, or not audit the event type at all. Success audits generate an audit entry when the process being tracked succeeds. Failure audits generate an audit entry when the process being tracked fails.
To set this value to No auditing, in the Properties dialog box for this policy setting, select the Define these policy settings check box and clear the Success and Failure check boxes.
Default: No auditing
------------------------------------------------------------------------------------------
Audit system events
This security setting determines whether to audit when a user restarts or shuts down the computer or when an event occurs that affects either the system security or the security log.
If you define this policy setting, you can specify whether to audit successes, audit failures, or not audit the event type at all. Success audits generate an audit entry when a system event is executed successfully. Failure audits generate an audit entry when a system event is attempted unsuccessfully.
To set this value to No auditing, in the Properties dialog box for this policy setting, select the Define these policy settings check box and clear the Success and Failure check boxes.
Default:
Success on domain controllers.
No auditing on member servers.
------------------------------------------------------------------------------------------
Additional resources:
http://publib.boulder.ibm.com/infocenter/tivihelp/v2r1/index.jsp?topic=%2Fcom.ibm.itcim.doc%2Ftcim85_install140.html
Configuring Windows XP auditing manually
Manual audit configuration should be performed on the audited system. In most cases, you must log in as Administrator to be able to adjust the audit settings.
Windows Security Log
------------------------------------------------------------------------------------------
In Microsoft® Windows®, auditing can be switched on and off for a number of event categories. Within each category, the auditing of successful and failed attempts can be controlled independently.
------------------------------------------------------------------------------------------
To turn on auditing of Windows XP events:
Run Local Security Policy snap-in from Start → All Programs → Administrative Tools or Control Panel → Administrative Tools.
In the snap-in tree select the Audit policy node (see Figure 17):
------------------------------------------------------------------------------------------
Sunday, June 3, 2012
HoNe - Running Process Cyber Attack Sensor
RICHLAND, Wash. - The good guys have a new, innovative tool to help them identify and understand cyber attacks.
Developed by a researcher at the Department of Energy’s Pacific Northwest National Laboratory, the new Hone cyber sensor determines how network activity on a computer is related to an application such as Internet Explorer or any running process. Finding these relationships enables cyber security experts to more quickly identify a potential problem and dissect how it works.
Wednesday, April 13, 2011
Blindly restoring Windows XP screen resolution
Have you ever changed the screen resolution of your computer to where you have saved settings that your monitor cannot display? I have, several times. It's annoying at best to to have accidentally made a change and then not be able to see what you're doing.
Here are the steps to restore your display.
Please note that you have to be logged in.
If you need to blindly login to your account, I'll save those steps for a different post.
---------------------------------------------------
Take an educated guess and
Click the Right Mouse button. - On your keyboard, press the
UP ARROW once, then press the ENTER key. - On your keyboard press the TAB
key four times. - On your keyboard, press the RIGHT ARROW
key four times. - On your keyboard press the TAB key once.
- Then press the
LEFT ARROW key four or five times - Then press the ENTER key.
The Monitor Setting dialog box will begin a countdown, "Reverting in n seconds".
Save your display settings.
And that should do it!
Tuesday, March 9, 2010
There's something amiss in China - Increased daily spam
Yesterday, I decided to let the spam pile up for a 24 hour period and take note of how many spam messages I have received. I don't like to pick on or lean in one direction or the other without having at least some metrics to go on, but out of 98 spam messages, 24 of those messages DID NOT have Chinese characters in the subject line.
Whup, OK, as I was typing this the message count JUST jumped to 102. By way of supposition, that's approximately 80% of the spam I have received in the past 24 hour period is coming from China.
Delving a little deeper I took a random check of the email headers, and yes, unless they're totally forged headers, I have to say, they do originate someplace in China. Where in China? Not important at this time. It's notable that they come from over the China border to here, at my gmail account in the United States.
So, what's happening here? Why the sudden spike in spam to my gmail account originating in China? Is there a mechanism I can implement to block ALL email from China from reaching my email account? I don't know anyone in China. I'm not expecting any email from China. Why can't I simply block all these messages? It's annoying at the very least and it is spam. I am going to keep my eye on this for a while, compile some data, see how it goes and maybe publish my results after 30 days or so. Is it worth it? I'll keep you posted.
- Robert Cazares
Saturday, February 27, 2010
Wednesday, February 10, 2010
cnbc.com - San Antonio: New Cyber City
Airtime: Wed. Feb. 10 2010 | 12:17 PM ET
Discussing why San Antonio is key to cyber security, with NBC's Janet Shamlian and Dr. Greg White, colonel for the U.S. Air Force and Fred Ramirez, CNF Technologies.
http://www.cnbc.com/id/15840232?video=1410041474&play=1
Friday, February 5, 2010
Windows 7 64-bit and 32-bit, Swiff Player, Flash 10 installation
I have tested this on both 32-bit and 64-bit systems with instant success. However, I make no guarantees or warranties and YMMV. What I can tell you is that after after a few hours of research and banging, it works for me.
This "fix" is simple. Really, it is.
- 64-bit systems
1) Install Adobe Flash 10 (Adobe Flash Player Standalone Installer, version 10.0.42.34) from
http://fpdownload.macromedia.com/get/flashplayer/current/licensing/win/install_flash_player_10_active_x.exe.
2) When installation is completed, navigate to C:\Windows\SysWOW64\Macromed\Flash and make a copy of Flash10d.ocx in the same directory.
3) Rename the copy of Flash10d.ocx to Flash.ocx (you will still have a copy of Flash10d.ocx)
4) Install Swiff Player 1.5 (http://www.globfx.com/downloads/swfplayer/)
5) Run Swiff Player and load your .swf files.
6) Enjoy!
- 32-bit systems
1) Install Adobe Flash 10 (Adobe Flash Player Standalone Installer, version 10.0.42.34) from
http://fpdownload.macromedia.com/get/flashplayer/current/licensing/win/install_flash_player_10_active_x.exe.
2) When installation is completed, navigate to C:\Windows\System32\Macromed\Flash and make a copy of Flash10d.ocx in the same directory.
3) Rename the copy of Flash10d.ocx to Flash.ocx (you will still have a copy of Flash10d.ocx)
4) Install Swiff Player 1.5 (http://www.globfx.com/downloads/swfplayer/)
5) Run Swiff Player and load your .swf files.
6) Enjoy!
Note 1: There is also a differing link to Adobe Flash 10 here:
http://get.adobe.com/flashplayer/otherversions/
Here's another link that I leaned on that helped me through this nagging issue:
Adobe Flash Player Standalone Installer?
http://social.answers.microsoft.com/Forums/en-US/InternetExplorer/thread/c8fe6d6f-ca63-4f2d-aa39-0365ca9c8b2d
- Robert
Updated Feb 5, 2010 - 1:32PM
Thursday, February 4, 2010
Control Sets and the Windows XP startup process
Typically, if the system\Select\Current value is set to 0x1 (Data: 0x00000001 (1)), then CurrentControlSet is pointing to ControlSet001.
For more detailed information see the below snippets and links.
--------------------------------------------------------------
Control Sets and the Windows XP startup process
Published: November 03, 2005
http://technet.microsoft.com/en-us/library/bb457123.aspx
Startup Phases
The Windows XP Professional startup process closely resembles that of Microsoft Windows NT version 4.0, Microsoft Windows 2000, and Microsoft Windows Server™ 2003, but it significantly differs from Microsoft MS-DOS, Microsoft Windows 95, Microsoft Windows 98, and Microsoft Windows Millennium Edition (Windows Me).
--------------------------------------------------------------Article ID: 100010 - Last Review: November 1, 2006 - Revision: 3.1
What are Control Sets? What is CurrentControlSet?
http://support.microsoft.com/kb/100010
Of importance:
ControlSet001 may be the last control set you booted with, while ControlSet002 could be what is known as the last known good control set, or the control set that last successfully booted Windows NT. The CurrentControlSet subkey is really a pointer to one of the ControlSetXXX keys. Clone is a clone of CurrentControlSet, and is created each time you boot your computer by the kernel initialization process. In order to better understand how these control sets are used, you need to be aware of another subkey, Select.
Select is also under the SYSTEM key. Select contains the following values:
Default
Failed
LastKnownGood
Wednesday, February 3, 2010
Relative Identifier Allocation
It is fairly easy for the system to generate a unique relative identifier for each account and group created on a stand-alone computer, where accounts and groups are stored in an account database managed by a local Security Accounts Manager (SAM) The SAM on a stand-alone computer can simply keep track of relative identifier values it has used before, making sure that it never uses them again.
Generating unique relative identifiers is a more complex process in a network domain Windows 2000 network domains can have several domain controllers, each of them a host for Active Directory, where account information is stored. This means that in a network domain there are as many copies of the account database as there are domain controllers. What is more, every copy of the account database is a master copy. New accounts and groups can be created on any domain controller. Changes made to Active Directory on one domain controller are replicated to all other domain controllers in the domain. The process of replicating changes in one master copy of the account database to all other master copies is called a multimaster operation .
The process of generating unique relative identifiers is a single-master operation . One domain controller is assigned the role of relative identifier (RID) master , and it allocates a sequence of relative identifiers to each domain controller in the domain. When a new domain account or group is created in one domain controller's replica of Active Directory, it is assigned a SID, and the relative identifier for the new SID is taken from the domain controller's allocation of relative identifiers. When its supply of relative identifiers begins to run low, the domain controller asks the RID master for another block.
Each domain controller makes sure that when it has used one value in a block of relative identifiers, it never uses that value again. The RID master makes sure that when it has allocated a block of relative identifiers, it never allocates those values again. The result of this teamwork is that every account and group created in the domain has a unique relative identifier.
Several other tasks performed by domain controllers are single-master operations. For example, one domain controller in an enterprise is assigned responsibility for ensuring that each domain has a unique name and a unique domain identifier. The domain controller assigned that role is called the domain naming master . For more information about single-master operations, see "Managing Flexible Single Master Operations" in this book.
Source: http://technet.microsoft.com/en-us/library/cc961984.aspx
Windows - Well-known SIDs - RID's
Well-known security identifiers (SIDs) identify generic groups and generic users. For example, there are well-known SIDs to identify the following groups and users:
- Everyone or World, which is a group that includes all users.
- CREATOR_OWNER, which is used as a placeholder in an inheritable ACE. When the ACE is inherited, the system replaces the CREATOR_OWNER SID with the SID of the object's creator.
- The Administrators group for the built-in domain on the local computer.
There are universal well-known SIDs, which are meaningful on all secure systems using this security model, including operating systems other than Windows. In addition, there are well-known SIDs that are meaningful only on Windows systems.
Source:
http://msdn.microsoft.com/en-us/library/aa379649%28VS.85%29.aspx
Four Run keys that are in the Microsoft Windows XP registry
Source:
http://support.microsoft.com/kb/314866/EN-US/
Run keys cause programs to automatically run each time that a user logs on. The Windows XP registry includes the following four Run keys:
HKEY_LOCAL_MACHINE\Software\Microsoft\Windows\CurrentVersion\Run
HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Run
HKEY_LOCAL_MACHINE\Software\Microsoft\Windows\CurrentVersion\RunOnce
HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\RunOnce
Each of these keys has a series of values. The values allow multiple entries to exist without overwriting one another. The data value for a value is a command line.
There are some special considerations for the third and fourth keys in the list, the RunOnce keys:
* Beginning with Windows XP, the values in the RunOnce keys are run only if the user has permission to delete entries from the respective key.
* The programs in the RunOnce key are run sequentially. Explorer waits until each one has exited before continuing with normal startup.
* By default, Run keys are ignored when the computer starts in Safe mode. Under the RunOnce keys, you can prefix a value name with an asterisk (*) to force the associated program to run even in Safe mode.
* You can prefix a RunOnce value name with an exclamation point (!) to defer deletion of the value until after the command runs.
* Without the exclamation point prefix, a RunOnce value is deleted before the command runs. As a result, if a RunOnce operation does not run properly, the associated program is not asked to run the next time you start the computer.
If more than one program is registered under any particular key, the order in which those programs are run is indeterminate. A program run from any of these keys should not write to the key during its execution. Doing so will interfere with the execution of other programs registered under the key. Furthermore, applications should use the RunOnce keys only for transient conditions (such as to complete application setup); an application must not continually re-create entries under RunOnce. Doing so will interfere with Windows Setup.
APPLIES TO
- Microsoft Windows XP Home Edition
- Microsoft Windows XP Professional
- Microsoft Windows XP Professional x64 Edition
- Microsoft Windows XP Driver Development Kit
- Windows XP Embedded
- Microsoft Windows Server 2003, Datacenter Edition (32-bit x86)
- Microsoft Windows Server 2003, Datacenter Edition for Itanium-Based Systems
- Microsoft Windows Server 2003, Datacenter x64 Edition
- Microsoft Windows Server 2003, Enterprise Edition (32-bit x86)
- Microsoft Windows Server 2003, Enterprise Edition for Itanium-based Systems
- Microsoft Windows Server 2003, Enterprise x64 Edition
- Microsoft Windows Server 2003, Standard Edition (32-bit x86)
- Microsoft Windows Server 2003, Standard x64 Edition
- Microsoft Windows Server 2003, Web Edition
Windows 95, Windows 98, Windows ME, Windows 2000, Windows NT
http://support.microsoft.com/kb/137367
Thursday, January 28, 2010
When standards bodies are the cyber threat
January 28, 2010 12:59 PM ET
http://www.networkworld.com/news/2010/012810-standards-cyber-threat.html?source=NWWNLE_nlt_daily_pm_2010-01-28
CNBC Video - Maryland's Bet on Cyber Security
http://www.cnbc.com/id/15840232?video=1398428905&play=1
Airtime: Thurs. Jan. 28 2010 | 12:42 PM ET
The state is betting on its growing technology sector to capitalize on increased cyber security spending in the U.S., with Gov. Martin O'Malley (D-MD).
Windows 7 - FTK 1.8 KFF database location
FTK 1.8 KFF default database location -
c:\programdata\accessdata\kff_databases\15.sep.2008
Stellent INSO Viewer - supported file type list
www.oracle.com/technology/products/content-management/oit/ds_oitFiles.pdf
