<?xml version="1.0" encoding="utf-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" version="2.0">
  <channel>
    <title><![CDATA[[SecurityRatty] tag: accesses]]></title>
    <link>http://securityratty.com/tag/accesses</link>
    <description></description>
    <pubDate>Mon, 08 Oct 2007 12:13:00 +0000</pubDate>
    <generator>iRatty Engine</generator>
    <docs>http://blogs.law.harvard.edu/tech/rss</docs>
    <item>
      <title><![CDATA[DEMIDS and Database Misuse Detection]]></title>
      <link>http://securityratty.com/article/8c7d7d2d32f7b17837f98436290a0ea4</link>
      <guid>http://securityratty.com/article/8c7d7d2d32f7b17837f98436290a0ea4</guid>
      <description><![CDATA[DEMIDS is an early paper on how to detect errant use of a database. As an overview, the paper describes a system where misuse is detected by the use of a distance function. It attributes a set of...]]></description>
      <content:encoded><![CDATA[DEMIDS is an early paper on how to detect errant use of a database.  As an overview, the paper describes a system where misuse is ‘detected’ by the use of a distance function.  It attributes a set of tables or database functions as the normal domain of a user, and everything that the user accesses outside of that specified domain has some distance factor associated with it.  Tables in other schema’s are viewed as being a certain distance outside of that domain, and tables in different database further still.  The further away a resource is, the more likely there is misuse.  It is a basic assumption that the users are sufficiently privileged to perform the access.  And it is inherent with the methodology described that the system is closely coupled to the database itself, and it performs the work of detection locally. ]]></content:encoded>
      <pubDate>Thu, 05 Jun 2008 03:44:18 +0000</pubDate>
      <category domain="http://securityratty.com/tag/database">database</category>
      <category domain="http://securityratty.com/tag/distance">distance</category>
      <category domain="http://securityratty.com/tag/database functions">database functions</category>
      <category domain="http://securityratty.com/tag/distance factor">distance factor</category>
      <category domain="http://securityratty.com/tag/misuse">misuse</category>
      <category domain="http://securityratty.com/tag/domain">domain</category>
      <category domain="http://securityratty.com/tag/normal domain">normal domain</category>
      <category domain="http://securityratty.com/tag/tables">tables</category>
      <category domain="http://securityratty.com/tag/user accesses">user accesses</category>
      <source url="http://infocentric.typepad.com/blog/2008/06/demids-and-database-misuse-detection.html">DEMIDS and Database Misuse Detection</source>
    </item>
    <item>
      <title><![CDATA[Anton Security Tip of the Day #15: Fear and Loathing in Event 560 (and 562 and 567)]]></title>
      <link>http://securityratty.com/article/298d93d64c01d5a12de2d2c761a8ead4</link>
      <guid>http://securityratty.com/article/298d93d64c01d5a12de2d2c761a8ead4</guid>
      <description><![CDATA[Following the new &quot;tradition&quot; of posting a security tip of the week (mentioned here , here ; SANS jumped in as well ), I decided to follow along and join the initiative. One of the bloggers called it...]]></description>
      <content:encoded><![CDATA[<p>Following the new "tradition" of posting a security tip of the week (mentioned <a href="http://www.stillsecureafteralltheseyears.com/ashimmy/2006/08/pay_it_forward__1.html">here</a>, <a href="http://mcwresearch.com/archives/265">here </a>; <a href="http://isc.sans.org/diary.php?storyid=1530&amp;rss">SANS jumped in as well</a>), I decided to follow along and join the initiative. One of the bloggers called it <a href="http://mcwresearch.com/archives/255">"pay it forward</a>" to the community.</p> <p>So, Anton Security Tip of the Day #15: <strong>Fear and Loathing in Event 567</strong></p> <p>This tip digs into a seemingly simple, but really <strong>VERY</strong> esoteric subject: monitoring file access and modification via a Windows event log. Now, some people - who never studied this subject - tend to have a very simplistic view of this: just enable Object Access auditing, then right-click on a file or directory, click Security-&gt;Advanced-&gt;Auditing and then pick what types of events will be logged and by what accessing entities (i.e. users or computers). OK, so this will produce some logs, that is for sure. But are they useful?</p> <p>First, why are we doing this? We typically need to know the following when we audit file access in Windows (or any other OS for that matter) for security (monitoring and investigation) or compliance:</p> <ul> <li>Time/date  <li>Computer where it happened  <li>User who touched the file  <li>Application he used to access the file  <li>File name + location (directory, share, etc) <li>Type of access (read, write, create, delete, etc)  <li>Status (i.e. success or failure)</li></ul> <p>Can we get this from the above logs? <strong>No.</strong></p> <p>What? No!?! Really? </p> <p>Yes, really. We can get some of the above, some of the time, not all of the above, all of the time. Here is an example, we are looking at event ID 560 (picture) and then at an extract from its description field.</p> <p><strong>Event:</strong></p> <p><a href="http://lh3.ggpht.com/anton.chuvakin/SCNkpVJituI/AAAAAAAADsE/q69WO589Oi4/s1600-h/event_log-560_1%5B2%5D.jpg"><img style="border-right: 0px; border-top: 0px; border-left: 0px; border-bottom: 0px" height="244" alt="event_log-560_1" src="http://lh4.ggpht.com/anton.chuvakin/SCNkplJitvI/AAAAAAAADsQ/XLlhnpafFgM/event_log-560_1_thumb.jpg?imgmax=800" width="235" border="0"></a> </p> <p><strong>Description (selected field):</strong></p> <p><em>Object Server</em>: Security <p><em>Object Type</em>: File <p><em>Object Name</em>: C:\0\TestBed\simple_text_file.txt <p><em>Image File Name</em>: C:\WINDOWS\system32\notepad.exe <p><em>Primary User Name</em>: Anton <p><em>Primary Domain</em>: XXXXXX <p><em>Accesses</em>: READ_CONTROL  <p>SYNCHRONIZE  <p>ReadData (or ListDirectory)  <p>WriteData (or AddFile)  <p>AppendData (or AddSubdirectory or CreatePipeInstance)  <p>ReadEA  <p>WriteEA  <p>ReadAttributes  <p>WriteAttributes <p>&nbsp; <p>WTH is that? Well, we know that the user&nbsp; 'Anton' has successfully read? wrote? changed attributes? did something? with a file named "C:\0\TestBed\simple_text_file.txt" using a program named "C:\WINDOWS\system32\notepad.exe." <strong>That's the best we can get, in this case!</strong> We may try to look at event IDs 562 and 567, but this missing information (i.e. the exact action performed) will not be added. <p>BTW, there will be&nbsp; a few more dozen (sometime hundreds!) of the 560s, 562s and 567s&nbsp; produced - all from just opening the text file in a notepad. The above event is notable for having BOTH "notepad" and "simple_text_file.txt" in the same event; others will have either of the two. <p>Anything else gets in the way? Yes, lots! MS Office will write to all files, even just opened for reading (with no user modifications to the content whatsoever), which will screw up your log monitoring efforts. If the file is on a share, more information will be missing (e.g. username might be).</p> <p>So, how to use Windows event logs for file access tracking?</p> <ol> <li>Enable logging (as described above)</li> <li>Pick events 560 (most useful) and 562, 567 (useful too)</li> <li>Look for fun filenames that might be touched by the users (have a list of files and users handy)</li> <li>Figure out what programs were used to access them (this is called "Image File Name" in "WinLogSpeak")</li> <li>Ponder the <em>'Accesses'</em> section of each event until your brain turns blue :-) or until you decide whether such access is authorized or not...</li></ol> <p>Overall, this is still very useful for file access monitoring, but the process is paaaaaainful.</p> <p>BTW, I am tagging all the tips on <a href="http://del.icio.us/anton18">my del.icio.us feed</a>. Here is the link: <a href="http://del.icio.us/anton18/security+tips">All Security Tips of the Day</a>.</p> <p> <div class="wlWriterSmartContent" id="scid:0767317B-992E-4b12-91E0-4F059A8CECA8:54499c21-dd11-4ff7-9221-4cf2ec0c95fe" style="padding-right: 0px; display: inline; padding-left: 0px; padding-bottom: 0px; margin: 0px; padding-top: 0px">Technorati tags: <a href="http://technorati.com/tags/security" rel="tag">security</a>, <a href="http://technorati.com/tags/tips" rel="tag">tips</a>, <a href="http://technorati.com/tags/logging" rel="tag">logging</a>, <a href="http://technorati.com/tags/log%20management" rel="tag">log management</a></div></p>  <div class="blogger-post-footer">About me: http://www.chuvakin.org</div><div class="feedflare">
<a href="http://feeds.feedburner.com/~f/AntonChuvakinPersonalBlog?a=9dUZiH"><img src="http://feeds.feedburner.com/~f/AntonChuvakinPersonalBlog?i=9dUZiH" border="0"></img></a> <a href="http://feeds.feedburner.com/~f/AntonChuvakinPersonalBlog?a=Uo2SKH"><img src="http://feeds.feedburner.com/~f/AntonChuvakinPersonalBlog?i=Uo2SKH" border="0"></img></a> <a href="http://feeds.feedburner.com/~f/AntonChuvakinPersonalBlog?a=WZBXTH"><img src="http://feeds.feedburner.com/~f/AntonChuvakinPersonalBlog?i=WZBXTH" border="0"></img></a>
</div><img src="http://feeds.feedburner.com/~r/AntonChuvakinPersonalBlog/~4/286335291" height="1" width="1"/>]]></content:encoded>
      <pubDate>Thu, 08 May 2008 09:37:00 +0000</pubDate>
      <category domain="http://securityratty.com/tag/text file">text file</category>
      <category domain="http://securityratty.com/tag/0testbedsimple text file">0testbedsimple text file</category>
      <category domain="http://securityratty.com/tag/audit file access">audit file access</category>
      <category domain="http://securityratty.com/tag/file access">file access</category>
      <category domain="http://securityratty.com/tag/simple text file">simple text file</category>
      <category domain="http://securityratty.com/tag/event">event</category>
      <category domain="http://securityratty.com/tag/access">access</category>
      <category domain="http://securityratty.com/tag/file">file</category>
      <category domain="http://securityratty.com/tag/anton security tip">anton security tip</category>
      <source url="http://feeds.feedburner.com/~r/AntonChuvakinPersonalBlog/~3/286335291/anton-security-tip-of-day-15-fear-and.html">Anton Security Tip of the Day #15: Fear and Loathing in Event 560 (and 562 and 567)</source>
    </item>
    <item>
      <title><![CDATA[Chinese Hacktivists Waging People's Information Warfare Against CNN]]></title>
      <link>http://securityratty.com/article/05c9fa38479affa4d154230adf02a08e</link>
      <guid>http://securityratty.com/article/05c9fa38479affa4d154230adf02a08e</guid>
      <description><![CDATA[Empowering and coordinating script kiddies by releasing DIY DDoS tools (backdoored as well) during the DDoS attacks against Estonia for instance, is exactly what is happening in the time of blogging...]]></description>
      <content:encoded><![CDATA[<a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://bp1.blogger.com/_wICHhTiQmrA/SA0mJdDpixI/AAAAAAAABmQ/Urb3lYBmDhU/s1600-h/hackcnn.jpg"><img style="margin: 0pt 10px 10px 0pt; float: left; cursor: pointer;" src="http://bp1.blogger.com/_wICHhTiQmrA/SA0mJdDpixI/AAAAAAAABmQ/Urb3lYBmDhU/s200/hackcnn.jpg" alt="" id="BLOGGER_PHOTO_ID_5191847889288661778" border="0" /></a>Empowering and coordinating script kiddies by <a href="http://ddanchev.blogspot.com/2007/10/empowering-script-kiddies.html">releasing DIY DDoS tools (backdoored as well)</a> during the <a href="http://ddanchev.blogspot.com/2007/08/your-point-of-view-requested.html">DDoS attacks against Estonia</a> for instance, is exactly what is happening in the time of blogging with a massive forum and IM coordination between Chinese netizens enticed to install a pre-configured to flood CNN.com piece of malware. Both of these coordinated incidents greatly illustrate what <a href="http://ddanchev.blogspot.com/2007/10/peoples-information-warfare-concept.html">people's information warfare, and the malicious culture of participation</a> is all about. The PSYOPS <span style="font-weight: bold;">anti-cnn.com</span> initiative is maturing into a central coordination point for recruiting DDoS participants on a nationalism level. Some info on <span style="font-weight: bold;">hackcnn.com</span>, the malware, internal commentary on behalf of the hacktivists, and who's behind it :<br /><br /><span style="font-weight: bold;">hackcnn.com</span> (58.49.59.253)<br />58.48.0.0-58.55.255.255 CHINANET-HB CHINANET Hubei province network China Telecom A12<br />Xin-Jie-Kou-Wai Street Beijing 100088,<br />China, Beijing 100000<br />tel:  101 1010000<br />fax:  101 1010000<br />china@hackcnn.com<br /><br />Upon execution of the tool, 18 TCP Connection Attempts to cnn.com (<span style="font-weight: bold;">64.236.91.24:80</span>) start, trying to access the following file at CNN.com :<br /><br />- Request: <span style="font-weight: bold;">GET /aux/con/com1/../../[LAG]../.%./../../../../fakecnn/redflag-stay-here.php.aspx.asp.cfm.jsp</span><br />Response: 400 "Bad Request"<br /><br /><a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://bp3.blogger.com/_wICHhTiQmrA/SA0pB9DpiyI/AAAAAAAABmY/2oFEElHWyFs/s1600-h/hackcnn_tool.jpg"><img style="margin: 0pt 10px 10px 0pt; float: left; cursor: pointer;" src="http://bp3.blogger.com/_wICHhTiQmrA/SA0pB9DpiyI/AAAAAAAABmY/2oFEElHWyFs/s200/hackcnn_tool.jpg" alt="" id="BLOGGER_PHOTO_ID_5191851058974526242" border="0" /></a>antiCnn.exe<br />Scanner results : 3% Scanner(1/36) found malware!<br />TROJAN.DOWNLOADER.GEN<br />File size: 174592 bytes<br />MD5...: c03abd4d871cd83fe00df38536f26422<br />SHA1..: 0502c74ee90e110ceed3cbb81b2ee53d26068691<br />Released by : Red Flag Cyber Operations nixrumor@gmail.com<br /><br />From a network reconnaissance perspective, the Chinese hacktivists didn't even bother to take care of Apache's /server status, and therefore we're easily able<br />to obtain such juicy inside information about hackcnn.com such as :<br /><br /><a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://bp2.blogger.com/_wICHhTiQmrA/SA0p_tDpizI/AAAAAAAABmg/8oIPp-wM404/s1600-h/sports_cnn_ddosed.jpg"><img style="margin: 0pt 10px 10px 0pt; float: left; cursor: pointer;" src="http://bp2.blogger.com/_wICHhTiQmrA/SA0p_tDpizI/AAAAAAAABmg/8oIPp-wM404/s200/sports_cnn_ddosed.jpg" alt="" id="BLOGGER_PHOTO_ID_5191852119831448370" border="0" /></a>Current Time: Tuesday, 22-Apr-2008 07:00:56<br />Restart Time: Monday, 21-Apr-2008 15:25:39<br />Parent Server Generation: 0<br />Server uptime: 15 hours 35 minutes 17 seconds<br />Total accesses: 291670 - Total Traffic: 533.8 MB<br />5.2 requests/sec - 9.7 kB/second - 1918 B/request<br />4 requests currently being processed, 246 idle workers<br /><br />Internal commentary excerpts regarding the motivation and their updates on the first DDoS round :<br /><br />"<span style="font-style: italic;">Our team of non-governmental organisations, We only private network enthusiasts. However, we have a patriotic heart, We will absolutely not permit any person to discredit our motherland under any name, We are committed to attack some spreading false information, and malicious slander, libel, support Tibet independence site.</span>"<br /><br /><a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://bp1.blogger.com/_wICHhTiQmrA/SA0t6dDpi0I/AAAAAAAABmo/oNfnCtMt6ns/s1600-h/sports_cnn_defaced_1.jpg"><img style="margin: 0pt 10px 10px 0pt; float: left; cursor: pointer;" src="http://bp1.blogger.com/_wICHhTiQmrA/SA0t6dDpi0I/AAAAAAAABmo/oNfnCtMt6ns/s200/sports_cnn_defaced_1.jpg" alt="" id="BLOGGER_PHOTO_ID_5191856427683646274" border="0" /></a>"<span style="font-style: italic;">User to a black CNN website suffer the same name. Yesterday, some Internet users attacked the domain name contains a "cnn" sports Web site, leaving protest speech, but reporters did not check the site found a relationship with CNN.</span>  <span style="font-style: italic;">Yesterday's attack was th</span><span style="font-style: italic;">e website with the domain name sports.si.cnn.com engaged in the work of the network of residents in Urumqi Mr. Chen, at about 2 pm, the attackers up a website hackcnn.com know, the "CNN sub-station" invasion and modify their pages. "Tug-of-war administrator and hackers," Mr. Chen said, after sports.si.cnn.com pages sometimes normal, and sometimes been modified. 16:50, the reporter saw on the pages left in bilingual text and flash animation, stressed that Tibet is a part of China, cnn protest against prejudice and false reports, the title page column was changed to "F * * kCNN!. "</span>  <span style="font-style: italic;">A few minutes later, the web site to enter a user ID and password before connecting, "evidently administrator of the authority." Chen analysis. Yesterday, the reporter tried to contact the attack, but received no response. Reporter verify that the contact address sports.si.cnn.com Pennsylvania in the United States, and the sports channel CNN web site is not the same, did not disclose information with the CNN.</span>"<br /><br /><a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://bp2.blogger.com/_wICHhTiQmrA/SA0uEtDpi1I/AAAAAAAABmw/eBx0cveCP5A/s1600-h/sports_cnn_defaced_2.jpg"><img style="margin: 0pt 10px 10px 0pt; float: left; cursor: pointer;" src="http://bp2.blogger.com/_wICHhTiQmrA/SA0uEtDpi1I/AAAAAAAABmw/eBx0cveCP5A/s200/sports_cnn_defaced_2.jpg" alt="" id="BLOGGER_PHOTO_ID_5191856603777305426" border="0" /></a>DDoS-ing is one thing, defacing is entirely another, try <a href="http://209.85.135.104/search?q=cache:bP4fl_vKGtwJ:sports.si.cnn.com/test.htm+%22fuck+cnn%22&amp;hl=en&amp;ct=clnk&amp;cd=8"><span style="color:black;"><span style="color:blue;">sports.si.cnn.com/test.htm</span></span></a> which was last defaced yesterday spreading "<span style="font-style: italic;">We are not against the western media, but against the lies and fabricated stories in the media</span>", "<span style="font-style: italic;">We are not against the western people, but against the prejudice from the western society.!</span>" messages.<br /><br />According to forum postings however, now that they've sent a signal, the attitude is shifting from attacking CNN to Western media in general. Thankfully, just like the case with <a href="http://ddanchev.blogspot.com/2007/11/electronic-jihad-v30-what-cyber-jihad.html">the  Electronic Jihad program</a>, they did not put a lot of efforts into ensuring the lifecycle of the tool will remain as long as possible, by introducing a way to automatically update the tool with new targets. In fact, in <a href="http://ddanchev.blogspot.com/2007/08/cyber-jihadist-dos-tool.html">the Electronic Jihad case</a>, the hardcoded update locations were all down priot to releasing the tool, making a bit more efforts cunsuming to finally manage to <a href="http://ddanchev.blogspot.com/2007/11/electronic-jihads-targets-list.html">obtain the targets list</a>.<div class="feedflare">
<a href="http://feeds.feedburner.com/~f/DanchoDanchevOnSecurityAndNewMedia?a=Y8er0oG"><img src="http://feeds.feedburner.com/~f/DanchoDanchevOnSecurityAndNewMedia?i=Y8er0oG" border="0"></img></a> <a href="http://feeds.feedburner.com/~f/DanchoDanchevOnSecurityAndNewMedia?a=U8qwQ1G"><img src="http://feeds.feedburner.com/~f/DanchoDanchevOnSecurityAndNewMedia?i=U8qwQ1G" border="0"></img></a> <a href="http://feeds.feedburner.com/~f/DanchoDanchevOnSecurityAndNewMedia?a=6x6u2fg"><img src="http://feeds.feedburner.com/~f/DanchoDanchevOnSecurityAndNewMedia?i=6x6u2fg" border="0"></img></a> <a href="http://feeds.feedburner.com/~f/DanchoDanchevOnSecurityAndNewMedia?a=z5wKCqg"><img src="http://feeds.feedburner.com/~f/DanchoDanchevOnSecurityAndNewMedia?i=z5wKCqg" border="0"></img></a> <a href="http://feeds.feedburner.com/~f/DanchoDanchevOnSecurityAndNewMedia?a=lglljMG"><img src="http://feeds.feedburner.com/~f/DanchoDanchevOnSecurityAndNewMedia?i=lglljMG" border="0"></img></a> <a href="http://feeds.feedburner.com/~f/DanchoDanchevOnSecurityAndNewMedia?a=4Hn9S4G"><img src="http://feeds.feedburner.com/~f/DanchoDanchevOnSecurityAndNewMedia?i=4Hn9S4G" border="0"></img></a> <a href="http://feeds.feedburner.com/~f/DanchoDanchevOnSecurityAndNewMedia?a=UBIyLWg"><img src="http://feeds.feedburner.com/~f/DanchoDanchevOnSecurityAndNewMedia?i=UBIyLWg" border="0"></img></a>
</div><img src="http://feeds.feedburner.com/~r/DanchoDanchevOnSecurityAndNewMedia/~4/275221877" height="1" width="1"/>]]></content:encoded>
      <pubDate>Mon, 21 Apr 2008 22:25:00 +0000</pubDate>
      <category domain="http://securityratty.com/tag/cnn">cnn</category>
      <category domain="http://securityratty.com/tag/cnn sub-station">cnn sub-station</category>
      <category domain="http://securityratty.com/tag/flood cnn">flood cnn</category>
      <category domain="http://securityratty.com/tag/sports web site">sports web site</category>
      <category domain="http://securityratty.com/tag/site">site</category>
      <category domain="http://securityratty.com/tag/psyops anti-cnn">psyops anti-cnn</category>
      <category domain="http://securityratty.com/tag/contact address sports">contact address sports</category>
      <category domain="http://securityratty.com/tag/contact">contact</category>
      <category domain="http://securityratty.com/tag/sports">sports</category>
      <source url="http://feeds.feedburner.com/~r/DanchoDanchevOnSecurityAndNewMedia/~3/275221877/chinese-hacktivists-waging-peoples.html">Chinese Hacktivists Waging People's Information Warfare Against CNN</source>
    </item>
    <item>
      <title><![CDATA[Sexing up the logs]]></title>
      <link>http://securityratty.com/article/097b1b9e4e4d915eb30f810a54e4bea8</link>
      <guid>http://securityratty.com/article/097b1b9e4e4d915eb30f810a54e4bea8</guid>
      <description><![CDATA[The title of this blog is false - a pure marketing ploy. Quite simply there is nothing sexy about logs. Few of us take any enjoyment out of reviewing them but there are plenty of mandates around...]]></description>
      <content:encoded><![CDATA[
      The title of this blog is false - a pure marketing ploy. Quite simply there is nothing sexy about logs. Few of us take any enjoyment out of reviewing them but there are plenty of mandates around telling us that we have to. For example, section 10 of the PCI DSS states: <strong>Review logs for all system components at least daily. Log reviews must include those servers that perform security functions like intrusion detection system (IDS) and authentication, authorization, and accounting protocol (AAA) servers (for example, RADIUS</strong>). Section A.10 of ISO27001 states: <strong>Audit logs recording user activities, exceptions, and information security events shall be produced and kept for an agreed period to assist in future investigations and access control monitoring</strong>. The importance of keeping logs is also called out in Basel II, SOX, and so on.

For anything you want to know about logs there's only one <a href="http://chuvakin.blogspot.com/2008/04/top-11-reasons-to-hate-logs.html">resource</a>. That of self-proclaimed "security warrior" Anton Chuvakin. His latest blog is on the "top eleven reasons to hate logs." I recommend reading back through Anton's archive  - there's a wealth of good guidance.

Let's remember that we don't "do security" just for the sake of compliance. Compliance is a side-effect of having a well planned security governance regime. The top level objectives are about protecting data assets (the CIA triad of confidentiality, integrity, and availability). Where does the review of log files come in and what risks are we mitigating? Well, logs support analysis processes - we learn a lot about what's going on within our systems. Reviewing security event logs provides us with increased situational awareness of our environment, while storing logs enables us to perform trend analysis and observe behaviour on systems over time and identify anomolies.

Here's an example. Let's say that every morning at 9am you would expect to see log output stating a successful startup sequence for a particular device or application. If one morning this log entry fails to appear then you have an anomoly to investigate. Of course the issue might not be security related, or it might be. The fact is that some anomolous behavious causes you to investigate and find out what the problem is. Another example is when you consider what is normal system user behaviour. If the log files show that an individual who usually accesses an account during office hours and a weekend from London is now accessing the account in the middle of the night from Elbonia then there's another anomoly for you to investigate. Suspicious behaviour or just on holiday? A review of the logs will likely reveal additional activity that lets you determine which it is.

There's much more to talk about on this topic - consolidating logs and getting them into a format that makes them easier to review is probably foremost in the minds of some, deciding what to log and how long to keep records for will be of interest to other.

      
   ]]></content:encoded>
      <pubDate>Thu, 03 Apr 2008 00:00:00 +0000</pubDate>
      <category domain="http://securityratty.com/tag/logs">logs</category>
      <category domain="http://securityratty.com/tag/logs enables">logs enables</category>
      <category domain="http://securityratty.com/tag/security event logs">security event logs</category>
      <category domain="http://securityratty.com/tag/security">security</category>
      <category domain="http://securityratty.com/tag/review logs">review logs</category>
      <category domain="http://securityratty.com/tag/perform security functions">perform security functions</category>
      <category domain="http://securityratty.com/tag/log">log</category>
      <category domain="http://securityratty.com/tag/log output">log output</category>
      <category domain="http://securityratty.com/tag/information security events">information security events</category>
      <source url="http://www.computerweekly.com/blogs/stuart_king/2008/04/sexing-up-the-logs.html">Sexing up the logs</source>
    </item>
    <item>
      <title><![CDATA[Student hacks Broward Schools and accesses personal information]]></title>
      <link>http://securityratty.com/article/c4365f731a2b858d6a6a93a697fbf23a</link>
      <guid>http://securityratty.com/article/c4365f731a2b858d6a6a93a697fbf23a</guid>
      <description><![CDATA[Technorati Tag: Security Breach

Date Reported
3/23/08

Organization
Broward County Public Schools

Contractor/Consultant/Branch
None

Victims
District employees and students

Number Affected
38,000
...]]></description>
      <content:encoded><![CDATA[Technorati Tag: <a href="http://technorati.com/tag/security+breach" rel="tag">Security Breach</a><br><br>
<img src="http://breachblog.com/images/95781-88451/broward.jpg" align="right" height="40" width="200"><font size="2"><span style="font-weight: bold;">Date Reported: </span><br>3/23/08<br><br><span style="font-weight: bold;">Organization: </span><br><a href="http://www.browardschools.com/">Broward County Public Schools</a> <br><br><span style="font-weight: bold;">Contractor/Consultant/Branch:</span><br>None<br><br><span style="font-weight: bold;">Victims:</span><br>District employees and students<br><br><span style="font-weight: bold;">Number Affected:</span><br>38,000<br><br><span style="font-weight: bold;">Types of Data:</span><br>"Social Security numbers, addresses, birth dates, names and other personal information"<br><br><span style="font-weight: bold;">Breach Description:</span><br>"A high school senior accused of hacking into a Broward School District database may have downloaded more than just the private information of 38,000 district employees as originally suspected, according to court records."<br><br><span style="font-weight: bold;">Reference URL:</span><br><a href="http://www.sun-sentinel.com/news/local/broward/sfl-flbhacker0322sbmar23,0,5212103.story">South Florida Sun-Sentinel</a> <br><br><span style="font-weight: bold;">Report Credit:</span><br>Joel Marino, South Florida Sun-Sentinel<br><br><span style="font-weight: bold;">Response:</span><br>From the online source cited above:<br><br>A high school senior accused of hacking into a Broward School District database may have downloaded more than just the private information of 38,000 district employees as originally suspected, according to court records.<br><br>Investigators also found information about students at the high school he attended, a host of password hacker programs and credit card generators — or software that can falsify credit card information — in a school computer used in February by Michael Wasa, 18, of Tamarac, a search warrant said.<br><span style="font-style: italic;">[Evan] Why aren't these computers locked-down?&nbsp; High school students (for the most part) are very "high risk" users.&nbsp; The computers should be well hardened and internet access should be restricted to acceptable site visits.</span><br><br>He was suspended March 6 pending expulsion, but no charges or arrests have been made, said district spokesman Keith Bromery. Investigators also are trying to determine if Wasa worked alone.<br><br>A student at J.P. Taravella High in Coral Springs, Wasa was taking several computer classes at the Atlantic Technical Center in Coconut Creek when police say he first accessed the district's database a month ago.<br><br>A teacher at the technical school became suspicious of illegal activity after she was unable to access a classroom computer Wasa used on Feb. 26.<br><br>The school's information technology team found decrypting software had been downloaded, allowing the user to break into a database and collect teacher and student information from the entire Broward County school system.<br><br>School administrators asked Wasa about the hacking on March 4. The records say Wasa "readily admitted he hacked into the school board servers without authorization."<br><span style="font-style: italic;">[Evan] Naïve.</span><br><br>He was asked to turn in a thumb drive, which he said contained emergency contact information for Taravella's 3,000 students.<br><br>Wasa also is suspected of collecting the Social Security numbers, addresses, birth dates, names and other personal information of district employees ranging from teachers to bus drivers. "There's still no reason to believe that there was criminal intent or that he did anything with the information he was able to retrieve," Bromery said.<br style="font-style: italic;"><span style="font-style: italic;">[Evan] Breaking into the school's computer systems is against the law.&nbsp;&nbsp; </span></font><font style="font-style: italic;" size="2">Michael Wasa also had </font><font style="font-style: italic;" size="2">"</font><font style="font-style: italic;" size="2">credit card generators" in his possession.&nbsp; Yet, "There's still no reason to believe that there was criminal intent"?!</font><font size="2"><span style="font-style: italic;"> </span><br><br>Melissa Grimm, a district project manager, told the district's audit committee that the student hacked Pinnacle, an electronic grade book. Both Grimm and Bromery said the payroll has not been affected.<br><span style="font-style: italic;">[Evan] Pinnacle Gradebook is made by </span><a style="font-style: italic;" href="http://www.excelsiorsoftware.com/">Excelsior Software</a><span style="font-style: italic;">.&nbsp; I don't know of any known vulnerabilities and/or exploits for Pinnacle so I wonder if it was just poorly secured in the first place, much like the desktop computer was.</span><br><br>Coconut Creek police, the Broward Sheriff's Office and a district investigations unit are reviewing the case; even the U.S. Secret Service has volunteered to help, said Joe Melita, head of the district's special investigative unit.<br><span style="font-style: italic;">[Evan] Sheesh, this has to be intimidating to a high schooler.</span><br><br>"It's a serious matter any time the protection of employee records comes into question," Melita said. "This affects a lot of employees, so we want them to feel comfortable that their information is secure.<br><span style="font-style: italic;">[Evan] But their information is <span style="font-weight: bold;">NOT </span>secure.</span><br><br><span style="font-weight: bold;">Commentary:</span><br>Michael Wasa may have hacked into the school's systems because he was curious, maybe he thought it would be challenge that he could brag about, or maybe he actually had more sinister plans to use the personal information for criminal gain.&nbsp; The fact that he had "credit card generators" in his possession lends some credence to the latter.<br><br>Schools that provide computers for their students need to make sure that adequate information security are not forgotten on those computers.&nbsp; For instance, there is no need for a student to have unrestricted internet access, local administrative rights, the ability to install software, etc.<br><br>Pinnacle Gradebook is a widely used tool by many schools throughout the county, along with <a href="%20http://www.infinitecampus.com/">Infinite Campus</a>.&nbsp; I applaud these schools for their intent to provide better school/teacher/parent communication by capitalizing on technology, but equally important are potential security implications. <br><br><span style="font-weight: bold;">Past Breaches:</span><br>Unknown</font><br><br>
<script src="http://feeds.feedburner.com/%7Es/breachblog?i=http://breachblog.com/2008/03/24/broward.aspx" type="text/javascript" charset="utf-8"></script>]]></content:encoded>
      <pubDate>Mon, 24 Mar 2008 10:22:48 +0000</pubDate>
      <category domain="http://securityratty.com/tag/information">information</category>
      <category domain="http://securityratty.com/tag/personal information">personal information</category>
      <category domain="http://securityratty.com/tag/students">students</category>
      <category domain="http://securityratty.com/tag/information technology team">information technology team</category>
      <category domain="http://securityratty.com/tag/school students">school students</category>
      <category domain="http://securityratty.com/tag/school">school</category>
      <category domain="http://securityratty.com/tag/information security">information security</category>
      <category domain="http://securityratty.com/tag/pinnacle gradebook">pinnacle gradebook</category>
      <category domain="http://securityratty.com/tag/pinnacle">pinnacle</category>
      <source url="http://breachblog.com/2008/03/24/broward.aspx">Student hacks Broward Schools and accesses personal information</source>
    </item>
    <item>
      <title><![CDATA[Stolen laptop contained unencrypted Fallon Community Health Plan information]]></title>
      <link>http://securityratty.com/article/fef649699bab3bfa56860edca6af847d</link>
      <guid>http://securityratty.com/article/fef649699bab3bfa56860edca6af847d</guid>
      <description><![CDATA[Technorati Tag: Security Breach

Date Reported
1/24/08

Organization
Fallon Community Health Plan

Contractor/Consultant/Branch
Unknown vendor

Victims
Fallon Senior Plan and Summit ElderCare...]]></description>
      <content:encoded><![CDATA[Technorati Tag: <a href="http://technorati.com/tag/security+breach" rel="tag">Security Breach</a><br><br>
<img src="http://breachblog.com/images/95781-88451/fallon.jpg" align="right" height="102" width="151"><font size="2"><span style="font-weight: bold;">Date Reported: </span><br>1/24/08<br><br><span style="font-weight: bold;">Organization: </span><br><a href="http://www.fchp.org/" target="_blank"> Fallon Community Health Plan</a><br><br><span style="font-weight: bold;">Contractor/Consultant/Branch:</span><br>Unknown vendor<br><br><span style="font-weight: bold;">Victims:</span><br>Fallon Senior Plan and Summit ElderCare customers<br><br><span style="font-weight: bold;">Number Affected:</span><br>29,800<br><br><span style="font-weight: bold;">Types of Data:</span><br>Names, dates of birth and Medicare identification numbers*<br><br><font size="1">*"Medicare identification number" is the generic term for any number, other than the National Provider Identifier, used by a provider or supplier to bill the Medicare program, which usually consists of the person's or his or her spouse's Social Security number.</font><br><br><span style="font-weight: bold;">Breach Description:</span><br>Three laptops were stolen from a Boston office used by an unnamed Fallon Community Health Plan vendor.&nbsp; One of the three laptops contained sensitive personal information belonging to Fallon Senior Plan and Summit ElderCare customers.&nbsp; The computer was originally though to be encrypted, but a subsequent investigation has proven this to be false.<br><br><span style="font-weight: bold;">Reference URL:</span><br><a href="http://www.telegram.com/article/20080124/ALERT01/769284629" target="_blank"> Worcester Telegram</a> <br><a href="http://www.bostonherald.com/business/general/view.bg?articleid=1068943&amp;srvc=rss" target="_blank"> Boston Herald story</a> <br><a href="http://boston.bizjournals.com/boston/stories/2008/01/21/daily65.html" target="_blank"> Boston Business Journal story</a><br><br><span style="font-weight: bold;">Report Credit:</span><br>Bob Kievra, Worcester Telegram &amp; Gazette<br><br><span style="font-weight: bold;">Response:</span><br>From the online sources cited above:<br><br>Fallon Community Health Plan said this afternoon the names, dates of birth and Medicare identification numbers of approximately 30,000 Senior Plan members was on a laptop computer stolen earlier this month from a Boston-based vendor of the HMO.<br><span style="font-style: italic;">[Evan] I have been unable to determine the vendor from the 4 or 5 news reports I have read.&nbsp; If you know for certain, please comment.</span><br><br>members with Fallon Senior Plan and Summit ElderCare coverage<br><br>"I deeply regret that this incident occurred,'' said President and Chief Executive Officer Eric H. Schultz. "I sincerely apologize for the inconvenience and trouble this theft may cause our members.''<br><br>Mr. Schultz said the laptop containing Fallon's information was one of three computers stolen from a Boston office on either Dec. 31 or Jan. 1.<br><br>The vendor discovered the theft Jan. 2 and originally said the material had been encrypted. But the health plan, with the assistance of a forensic technologist, came to the conclusion Jan. 14 that the information was not protected.<br><span style="font-style: italic;">[Evan] I wonder why the vendor thought that the information had been encrypted.&nbsp; Do they encrypt some laptops, and not others?&nbsp; It is a good idea to encrypt all laptops (and mobile devices) rather than try to determine which ones may have confidential information on them and which ones do not.</span><br><br>the data was not password protected or encrypted, in violation of the company's policies<br><span style="font-style: italic;">[Evan] I assume that we are talking about FCHP's policies.&nbsp; Kudos to FCHP for including password protection and encryption in policy.&nbsp; Does FCHP have Vendor/Third-Party access policy and/or regularly audit their vendors for compliance?</span><br><br>The vendor was using the data to ensure that Medicare claims were being appropriately processed<br><br>The HMO said Thursday it will offer a year’s free credit monitoring to those affected.<br><br>Those individuals have also been mailed letters notifying them of the incident, and FCHP has alerted regulatory authorities to the theft.<br><br><span style="font-weight: bold;">Commentary:</span><br>A vendor that accesses confidential information and stores it on mobile media without proper protection is inexcusable.&nbsp; I am perplexed.&nbsp; Doing business with a vendor that won't (or can't) provide evidence supporting how they will protect confidential information is taking unnecessary risk. <br><br><span style="font-weight: bold;">Past Breaches:</span><br>Unknown</font><br><br>
<script src="http://feeds.feedburner.com/%7Es/breachblog?i=http://breachblog.com/2008/01/25/fallon.aspx" type="text/javascript" charset="utf-8"></script>]]></content:encoded>
      <pubDate>Fri, 25 Jan 2008 08:54:27 +0000</pubDate>
      <category domain="http://securityratty.com/tag/information">information</category>
      <category domain="http://securityratty.com/tag/sensitive personal information">sensitive personal information</category>
      <category domain="http://securityratty.com/tag/fallon">fallon</category>
      <category domain="http://securityratty.com/tag/protect confidential information">protect confidential information</category>
      <category domain="http://securityratty.com/tag/accesses confidential information">accesses confidential information</category>
      <category domain="http://securityratty.com/tag/fallon senior plan">fallon senior plan</category>
      <category domain="http://securityratty.com/tag/senior plan">senior plan</category>
      <category domain="http://securityratty.com/tag/confidential information">confidential information</category>
      <category domain="http://securityratty.com/tag/unknown vendor">unknown vendor</category>
      <source url="http://breachblog.com/2008/01/25/fallon.aspx">Stolen laptop contained unencrypted Fallon Community Health Plan information</source>
    </item>
    <item>
      <title><![CDATA[Unauthorized access to University of Georgia server affects 4,250]]></title>
      <link>http://securityratty.com/article/08941cab1098a11276094b6ad928f894</link>
      <guid>http://securityratty.com/article/08941cab1098a11276094b6ad928f894</guid>
      <description><![CDATA[Technorati Tag: Security Breach

Date Reported
1/9/07

Organization
University of Georgia

Contractor/Consultant/Branch
None

Victims
Current graduate students living in family housing AND former...]]></description>
      <content:encoded><![CDATA[Technorati Tag: <a href="http://technorati.com/tag/security+breach" rel="tag">Security Breach</a><br><br>
<img src="http://breachblog.com/images/95781-88451/ug.jpg" align="right" height="110" width="199">
<span style="font-weight: bold;">Date Reported: </span><br>1/9/07<br><br><span style="font-weight: bold;">Organization: </span><br><a href="http://www.uga.edu/" target="_blank"> University of Georgia</a><br><br><span style="font-weight: bold;">Contractor/Consultant/Branch:</span><br>None<br><br><span style="font-weight: bold;">Victims:</span><br>Current graduate students living in family housing AND former students and applicants.<br><br><span style="font-weight: bold;">Number Affected:</span><br>4,250<br><br><span style="font-weight: bold;">Types of Data:</span><br>Names, addresses and Social Security numbers<br><br><span style="font-weight: bold;">Breach Description:</span><br>Sometime between December 29th and December 31st, 2007 a "hacker" using a computer "with an overseas IP address" was able to access a University of Georgia server used to store confidential personal information belonging to certain current and former university students.&nbsp; 4,250 individuals are affected by this breach.<br><br><span style="font-weight: bold;">Reference URL:</span><br><a href="http://www.ajc.com/metro/content/metro/stories/2008/01/09/ugacomputer_0109.html" target="_blank"> Associated Press report on ajc.com</a>&nbsp; <br><a href="http://www.wneg32.com/index.php/news/article/4-250-uga-social-security-numbers-at-risk-after-computer-hacking/568/" target="_blank"> WNEG Channel 32 News</a><br><br><span style="font-weight: bold;">Report Credit:</span><br>The Associated Press<br><br><span style="font-weight: bold;">Response:</span><br>From the online sources cited above:<br><br>University of Georgia officials are trying to contact more than 4,000 current, former and perspective residents of a university housing complex after a hacker was able to access a server containing personal information, including Social Security numbers.<br><br>The security breach happened sometime between Dec. 29 and Dec. 31<br><br>a computer with an overseas IP address was able to access the personal information including Social Security numbers, names and addresses of 540 current graduate students living in graduate family housing and 3,710 former students and applicants<br><span style="font-style: italic;">[Evan] These investigations are typically difficult to track to a specific source.&nbsp; We have seen "hackers" use insecure computers overseas as proxies.&nbsp; If a proxy is used in a country that does not cooperate with law enforcement in the United States, then the investigation typically stalls due to the fact that logs and other forensic evidence is not available.</span><br style="font-style: italic;"><br>University officials know what country the hacker was operating in, but would not comment on it, UGA spokesman Tom Jackson said.<br><br>Workers took the server off-line as soon they discovered the problem.<br><br>There was no evidence the hacker used or recorded the information, said Stan Gatewood, UGA's chief information security officer.<br><br>"It seemed to be one of those things where the door was opened, but no one walked in," Jackson said. "But still everyone needs to be notified."<br><span style="font-style: italic;">[Evan] If "no one walked in", then why is there mention of a "hacker" using "a computer with an overseas IP address"?&nbsp;&nbsp; The two statements don't jive.</span><br><br>But notifying all the affected people could be difficult because many are former students from outside the country, Jackson said.<br><span style="font-style: italic;">[Evan] Probably more difficult than it would have been to secure the information in the first place.</span><br><br><span style="font-weight: bold;">Commentary:</span><br>If we can't be reasonably certain that the attacker did not access the information, then we are left with the assumption that the attacker did.&nbsp; There is little chance that the university will find out who the attacker is with any certainty.&nbsp; It is easy to be anonymous with the use of proxy servers (bots, open proxies, etc.), especially going through foreign countries.<br><br>What was the purpose of storing this information on a server that was accessible through the internet?&nbsp; I also wonder what other controls were placed around access to this server.<br><br>This isn't the first time that an "overseas hacker gained access" to University of Georgia confidential information resources (see below).&nbsp; Same "hacker"?&nbsp; Food for thought. <br><br><span style="font-weight: bold;">Past Breaches:</span><br>February, 2007 - <a href="http://www.pogowasright.org/documentation/2007/UGeorgia_01.html" target="_blank"> Overseas hacker accesses University of Georgia database</a> <br><br>
<script src="http://feeds.feedburner.com/%7Es/breachblog?i=http://breachblog.com/2008/01/09/ug.aspx" type="text/javascript" charset="utf-8"></script>]]></content:encoded>
      <pubDate>Wed, 09 Jan 2008 12:32:57 +0000</pubDate>
      <category domain="http://securityratty.com/tag/university">university</category>
      <category domain="http://securityratty.com/tag/server">server</category>
      <category domain="http://securityratty.com/tag/georgia server">georgia server</category>
      <category domain="http://securityratty.com/tag/university students">university students</category>
      <category domain="http://securityratty.com/tag/georgia">georgia</category>
      <category domain="http://securityratty.com/tag/overseas hacker">overseas hacker</category>
      <category domain="http://securityratty.com/tag/hacker">hacker</category>
      <category domain="http://securityratty.com/tag/access">access</category>
      <category domain="http://securityratty.com/tag/server off-line">server off-line</category>
      <source url="http://breachblog.com/2008/01/09/ug.aspx">Unauthorized access to University of Georgia server affects 4,250</source>
    </item>
    <item>
      <title><![CDATA[DHS notified the Greenville County School District of compromise]]></title>
      <link>http://securityratty.com/article/8378d9cb3040b23d2ff80e701b8117f6</link>
      <guid>http://securityratty.com/article/8378d9cb3040b23d2ff80e701b8117f6</guid>
      <description><![CDATA[Technorati Tag: Security Breach

Date Reported
12/20/2007 (backdated from writing on 1/7/08

Organization
Greenville County School District

Contractor/Consultant/Branch
None

Victims
Employees
...]]></description>
      <content:encoded><![CDATA[Technorati Tag: <a href="http://technorati.com/tag/security+breach" rel="tag">Security Breach</a><br><br>
<img src="http://breachblog.com/images/95781-88451/greenville.jpg" align="right" height="103" width="93"><font size="2"><span style="font-weight: bold;">Date Reported: </span><br>12/20/2007 (backdated from writing on 1/7/08)<br><br><span style="font-weight: bold;">Organization: </span><br><a href="http://www.greenville.k12.sc.us/index.asp" target="_blank"> Greenville County School District</a><br><br><span style="font-weight: bold;">Contractor/Consultant/Branch:</span><br>None<br><br><span style="font-weight: bold;">Victims:</span><br>Employees<br><br><span style="font-weight: bold;">Number Affected:</span><br>Not disclosed*<br><br><font size="1">*The Greenville County School District has an estimated 9,089 employees</font><br><br><span style="font-weight: bold;">Types of Data:</span><br>Names, Social Security numbers, and telephone numbers<br><br><span style="font-weight: bold;">Breach Description:</span><br>The U.S. Department of Homeland Security notified the Chief Information Officer of the State of South Carolina of suspicious activity involving Greenville County School District data.&nbsp; A malicious program had been installed on a computer used by the school district's benefits department that captured sensitive personal information belonging to certain school district employees.<br><br><span style="font-weight: bold;">Reference URL:</span><br><a href="http://www.wspa.com/midatlantic/spa/news.apx.-content-articles-SPA-2007-12-20-0012.html" target="_blank"> News Channel 7 Story</a> <br><a href="http://www.wyff4.com/news/14900680/detail.html" target="_blank"> WYFF Channel 4 News Story</a> <br><br><span style="font-weight: bold;">Report Credit:</span><br>News Channel 7<br><br><span style="font-weight: bold;">Response:</span><br>From the online sources cited above and letter sent to affected individuals:<br><br>Greenville County Schools was informed by the Chief Information Officer of the State of South Carolina (SC CIO) that the U.S. Department of Homeland Security has identified suspicious activity involving district data.<br><br>Unknown to the School District or that employee, a malicious program had been electronically transmitted into a Benefits Department computer by an outside source.<br><br>An investigation has identified your personal information as part of the data theft.<br><br>Greenville County Schools is one of several government entities recently affected by the compromise of personal information reported to the SC CIO.&nbsp; Local law enforcement, the State Law Enforcement Division (SLED), and the US Secret Service are conducting an investigation.<br><span style="font-style: italic;">[Evan] Wouldn't be nice to know who the "several government entities" are?&nbsp; It appears that the data in the breach was compromised through a virus.&nbsp; I can only imagine the number of school computers nationwide that are infected.</span><br><br>When the Benefits Department computer was used to access state insurance information, the malicious software program captured your name, social security number, and telephone number.<br><span style="font-style: italic;">[Evan] Captured and transmitted, or just captured?</span><br><br>We continue to work with state and federal law enforcement regarding this matter. You will be notified when additional information is available. If you have questions, please contact me at 355-1182.<br><span style="font-style: italic;">[Evan] The "me" is James S. McCutcheon, Director of Disbursement Services</span><br><br><span style="font-weight: bold;">From the FAQ included with the breach notification:</span><br>Q. Why did this happen to me?<br><br>A. This is a random crime. We have no reason to believe that any specific individual was targeted.&nbsp; <br><br>Q. How did The U.S. Department of Home Land Security detect this incident?<br><br>A. The U.S. Department of Homeland Security continually monitors “.gov” internet traffic for possible criminal and terrorist activity. The Benefits Department accesses a “.gov” website to manage benefits information.<br><br><span style="font-weight: bold;">Victim Reaction:</span><br><br>"As a former employee, what amazes me is that the news just broke, and the district offices are closed! There is no one for me to contact about whether my records may have been stolen as well. If it wasn't for this site, I wouldn't know about their recommended steps." - Will<br><br><span style="font-weight: bold;">Commentary:</span><br>This is an interesting breach in the fact that the Department of Homeland Security (DHS) noticed and reported it.&nbsp; I assume that the DHS runs network IDS/IPS and this is how it was detected.&nbsp; IDS/IPS takes a considerable amount of tuning and attention.&nbsp; A good IDS/IPS specialist follows-up on anomalies rather than just tuning the alert out.&nbsp; Good work on the part of DHS. <br><br><span style="font-weight: bold;">Past Breaches:</span><br>Unknown</font><br><br>
<script src="http://feeds.feedburner.com/%7Es/breachblog?i=http://breachblog.com/2007/12/20/greenville.aspx" type="text/javascript" charset="utf-8"></script>
<br>
<br>
<script type="text/javascript"><!--
google_ad_client = "pub-4721162729073131";
google_ad_width = 468;
google_ad_height = 60;
google_ad_format = "468x60_as";
google_ad_type = "text_image";
google_ad_channel = "";
//-->
</script>
<script type="text/javascript">
</script>]]></content:encoded>
      <pubDate>Mon, 07 Jan 2008 06:08:03 +0000</pubDate>
      <category domain="http://securityratty.com/tag/computer">computer</category>
      <category domain="http://securityratty.com/tag/benefits department computer">benefits department computer</category>
      <category domain="http://securityratty.com/tag/benefits department">benefits department</category>
      <category domain="http://securityratty.com/tag/benefits department accesses">benefits department accesses</category>
      <category domain="http://securityratty.com/tag/department">department</category>
      <category domain="http://securityratty.com/tag/school district">school district</category>
      <category domain="http://securityratty.com/tag/school district employees">school district employees</category>
      <category domain="http://securityratty.com/tag/employees">employees</category>
      <category domain="http://securityratty.com/tag/homeland security">homeland security</category>
      <source url="http://breachblog.com/2007/12/20/greenville.aspx">DHS notified the Greenville County School District of compromise</source>
    </item>
    <item>
      <title><![CDATA[PrincipalPermissionAttribute and Static ctor Leads to DoS]]></title>
      <link>http://securityratty.com/article/49cbfdc884d69f90de9653283e9ea1b5</link>
      <guid>http://securityratty.com/article/49cbfdc884d69f90de9653283e9ea1b5</guid>
      <description><![CDATA[I recently heard a colleague lamenting that he was having difficulty using PrincipalPermissionAttribute at the class level in a certain scenario under WCF. I recommended caution in my guidebook ,...]]></description>
      <content:encoded><![CDATA[<p>I recently heard a colleague lamenting that he was having difficulty using PrincipalPermissionAttribute at the class level in a certain scenario under WCF. I <a href="http://www.pluralsight.com/wiki/default.aspx/Keith.GuideBook.HowToTrackClientIdentityUsingThreadDotCurrentPrincipal">recommended caution</a> in my <a href="http://www.pluralsight.com/wiki/default.aspx/Keith.GuideBook.HomePage">guidebook</a>, because of the nasty type load exception that you can run into if the first request to the class is denied by the attribute.</p> <blockquote> <p>Be careful about using this attribute at the class level. If the class to which you apply it happens to have a static constructor (or, even worse, if it may get one in the future), realize that this attribute applies to the static constructor as well! Why is this a problem? Well, if a static constructor throws an exception, the class is latched into a mode where each future attempt to call the static constructor leads to the previous exception being rethrown (<a href="http://blogs.msdn.com/cbrumme/archive/2003/04/15/51348.aspx">Brumme, 2003</a>). So, if the first caller to use the class doesn't satisfy the permission demand, no callers in the entire AppDomain will be able to use that class!</p></blockquote> <p>Here's a simple console app you can compile that demonstrates the danger.</p> <blockquote> <p><font face="Courier New" size="1">using System;<br>using System.Security.Principal;<br>using System.Security.Permissions;<br>using System.Threading; </font> <p><font face="Courier New" size="1">[PrincipalPermission(SecurityAction.Demand, Role="SuperUser")]<br>class Sensitive {<br>&nbsp;&nbsp;&nbsp; static Sensitive() {<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Console.WriteLine("Inside static constructor");<br>&nbsp;&nbsp;&nbsp; }<br>} </font> <p><font face="Courier New" size="1">class Program {<br>&nbsp;&nbsp;&nbsp; static void Main(string[] args) {<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; becomeSuperUser();<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; tryUsingSensitiveClass();<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; becomeNormalUser();<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; tryUsingSensitiveClass();<br>&nbsp;&nbsp;&nbsp; }<br>&nbsp;&nbsp;&nbsp; static void tryUsingSensitiveClass() {<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; try {<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; new Sensitive();<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Console.WriteLine("{0} OK!!",<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Thread.CurrentPrincipal.Identity.Name);<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; }<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; catch (Exception x) {<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Console.WriteLine(<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; "{0} failed due to a {1}",<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Thread.CurrentPrincipal.Identity.Name,<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; x.GetType().Name);<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; }<br>&nbsp;&nbsp;&nbsp; }<br>&nbsp;&nbsp;&nbsp; static void becomeNormalUser() {<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Thread.CurrentPrincipal = new GenericPrincipal(<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; new GenericIdentity("Bob"), null);<br>&nbsp;&nbsp;&nbsp; }<br>&nbsp;&nbsp;&nbsp; static void becomeSuperUser() {<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; string[] roles = { "SuperUser" };<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Thread.CurrentPrincipal = new GenericPrincipal(<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; new GenericIdentity("Alice"), roles);<br>&nbsp;&nbsp;&nbsp; }<br>}</font></p></blockquote> <p>Here's the output of the above program, exactly as written. Notice that the call order is such that the privileged user accesses the protected class first, so things work as you'd expect:</p> <blockquote> <p><font face="Courier New" size="2">Inside static constructor<br>Alice OK!!<br>Bob failed due to a SecurityException</font></p></blockquote> <p>Here's the output when I switch the order and have the normal user try to use the class first. The type is locked down and after that, even privileged users can't access it:</p> <blockquote> <p><font face="Courier New" size="2">Bob failed due to a TypeInitializationException<br>Alice failed due to a TypeInitializationException</font></p></blockquote> <p>If you remove the static ctor, things work as expected:</p> <blockquote> <p><font face="Courier New" size="2">Bob failed due to a SecurityException<br>Alice OK!!</font></p></blockquote> <p>Does this mean that you should never use PrincipalPermissionAttribute on a class? Maybe not, but you should probably put a comment on the class warning future devs to avoid adding a static ctor on it.</p><img src ="http://pluralsight.com/blogs/keith/aggbug/49343.aspx" width = "1" height = "1" />]]></content:encoded>
      <pubDate>Mon, 03 Dec 2007 06:03:00 +0000</pubDate>
      <category domain="http://securityratty.com/tag/class sensitive">class sensitive</category>
      <category domain="http://securityratty.com/tag/sensitive">sensitive</category>
      <category domain="http://securityratty.com/tag/class">class</category>
      <category domain="http://securityratty.com/tag/class level">class level</category>
      <category domain="http://securityratty.com/tag/static constructor">static constructor</category>
      <category domain="http://securityratty.com/tag/inside static constructor">inside static constructor</category>
      <category domain="http://securityratty.com/tag/class program">class program</category>
      <category domain="http://securityratty.com/tag/static constructor leads">static constructor leads</category>
      <category domain="http://securityratty.com/tag/static void">static void</category>
      <source url="http://pluralsight.com/blogs/keith/archive/2007/12/03/49343.aspx">PrincipalPermissionAttribute and Static ctor Leads to DoS</source>
    </item>
    <item>
      <title><![CDATA[Auditing open source software]]></title>
      <link>http://securityratty.com/article/59467548fd840375c0d60473f6181fe5</link>
      <guid>http://securityratty.com/article/59467548fd840375c0d60473f6181fe5</guid>
      <description><![CDATA[Written by Chris Evans, Security Team

Google encourages its employees to contribute back to the open source community, and there is no exception in Google's Security Team. Let's look at some...]]></description>
      <content:encoded><![CDATA[<span class="byline-author">Written by Chris Evans, Security Team</span><br /><br />Google encourages its employees to contribute back to the open source community, and there is no exception in Google's Security Team. Let's look at some interesting open source vulnerabilities that were located and fixed by members of Google's Security team. It is interesting to classify and aggregate the code flaws leading to the vulnerabilities, to see if any particular type of flaw is more prevalent.<br /><ol><li><b>JDK</b>. In May 2007, I <a title="released details" href="http://scary.beasts.org/security/CESA-2006-004.html" id="ro-g">released details</a> on an interesting bug in the ICC profile parser in Sun's JDK. The bug is particularly interesting because it could be exploited by an evil image. Most previous JDK bugs involve a user having to run a whole evil applet. The key parts of code which demonstrate the bug are as follows:<br /><blockquote><code style="font-size: 120%"><br />TagOffset = SpGetUInt32 (&Ptr);<br />if (ProfileSize &lt TagOffset)<br />&nbsp;&nbsp;return SpStatBadProfileDir;<br />...<br />TagSize = SpGetUInt32 (&Ptr);<br />if (ProfileSize &lt TagOffset + TagSize)<br />&nbsp;&nbsp;return SpStatBadProfileDir;<br />...<br />Ptr = (KpInt32_t *) malloc ((unsigned int)numBytes+HEADER);<br /></code></blockquote><br />Both TagSize and TagOffset are untrusted unsigned 32-bit values pulled out of images being parsed. They are added together, causing a classic integer overflow condition and the bypass of the size check. A subsequent additional integer overflow in the allocation of a buffer leads to a heap-based buffer overflow. </li><br /><li><b>gunzip</b>. In September 2006, my colleague Tavis Ormandy <a title="reported some interesting vulnerabilities" href="http://www.scary.beasts.org/security/tavis_gzip.txt" id="qbd9">reported some interesting vulnerabilities</a> in the gunzip decompressor. They were triggered when an evil compressed archive is decompressed. A lot of programs will automatically pass compressed data through gunzip, making it an interesting attack. The key parts of the code which demonstrate one of the bugs are as follows:<br /><blockquote><code style="font-size: 120%"><br />ush count[17], weight[17], start[18], *p;<br />...<br />for (i = 0; i &lt (unsigned)nchar; i++) count[bitlen[i]]++;<br /></code></blockquote><br />Here, the stack-based array "count" is indexed by values in the "bitlen" array. These values are under the control of data in the incoming untrusted compressed data, and were not checked for being within the bounds of the "count" array. This led to corruption of data on the stack.</li><br /><br /><li><b>libtiff</b>. In August 2006, Tavis <a title="reported a range of security vulnerabilities" href="http://www.scary.beasts.org/security/tavis_libtiff.txt" id="lkkz">reported a range of security vulnerabilities</a> in the libtiff image parsing library. A lot of image manipulation programs and services will be using libtiff if they handle TIFF format files. So, an evil TIFF file could compromise a lot of desktops or even servers. The key parts of the code which demonstrate one of the bugs are as follows:<br /><blockquote><code style="font-size: 120%"><br />if (sp-&gt;cinfo.d.image_width != segment_width ||<br />&nbsp;&nbsp;&nbsp;&nbsp;sp-&gt;cinfo.d.image_height != segment_height) {<br />&nbsp;&nbsp;TIFFWarningExt(tif-&gt;tif_clientdata, module,<br />&nbsp;&nbsp;&nbsp;&nbsp;"Improper JPEG strip/tile size, expected %dx%d, got %dx%d",<br /></code></blockquote><br />Here, a TIFF file containing a JPEG image is being processed. In this case, both the TIFF header and the embedded JPEG image contain their own copies of the width and height of the image in pixels. This check above notices when these values differ, issues a warning, and continues. The destination buffer for the pixels is allocated based on the TIFF header values, and it is filled based on the JPEG values. This leads to a buffer overflow if a malicious image file contains a JPEG with larger dimensions than those in the TIFF header. Presumably the intent here was to support broken files where the embedded JPEG had smaller dimensions than those in the TIFF header. However, the consequences of larger dimensions that those in the TIFF header had not been considered.</li></ol><br />We can draw some interesting conclusions from these bugs. The specific vulnerabilities are integer overflows, out-of-bounds array accesses and buffer overflows. However, the general theme is using an integer from an untrusted source without adequately sanity checking it. Integer abuse issues are still very common in code, particular code which is decoding untrusted binary data or protocols. We recommend being careful using any such code until it has been vetted for security (by extensive code auditing, fuzz testing, or preferably both). It is also important to watch for security updates for any decoding software you use, and keep patching up to date.<img src="http://feeds.feedburner.com/~r/GoogleOnlineSecurityBlog/~4/167194174" height="1" width="1"/>]]></content:encoded>
      <pubDate>Mon, 08 Oct 2007 12:13:00 +0000</pubDate>
      <category domain="http://securityratty.com/tag/image">image</category>
      <category domain="http://securityratty.com/tag/malicious image file">malicious image file</category>
      <category domain="http://securityratty.com/tag/libtiff image">libtiff image</category>
      <category domain="http://securityratty.com/tag/values">values</category>
      <category domain="http://securityratty.com/tag/jpeg image">jpeg image</category>
      <category domain="http://securityratty.com/tag/tiff header values">tiff header values</category>
      <category domain="http://securityratty.com/tag/source">source</category>
      <category domain="http://securityratty.com/tag/evil tiff file">evil tiff file</category>
      <category domain="http://securityratty.com/tag/evil">evil</category>
      <source url="http://feeds.feedburner.com/~r/GoogleOnlineSecurityBlog/~3/167194174/auditing-open-source-software.html">Auditing open source software</source>
    </item>
  </channel>
</rss>
