From the bad ‘ol days of phishing malware, Berbew (something seen in ‘03 and ‘04 mainly) is back on the scene as a trojan, and a worm. Either some group has made a variant with some complications to it, or they merely decided to get back in the scene and add some improvements. This version comes in 2 main parts, the worm to spread, and the trojan to steal. Here is my analysis of this so far:
Thanks to Jose Nazario for the samples!
History:
Drops C:\WINDOWS\system32\Jmlidaek.exe &
C:\WINDOWS\system32\Igikbo32.dll (This appears to be a mere file handler
api)
Registry Value Set:
HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\ShellServiceObjectDelayLoad,
IIDGHBEJ
Then Jmlidaek.exe drops C:\WINDOWS\system32\IIDGHBEJ.exe
The IIDGHBEJ.exe is the worm that propagates the data by attempting to
log into LAN $IPC shares through port 445.
It looks like it binds a HTTP Server onto the victim port 80 and tells
the other computers to grab it from the previous victim.
the IIDGHBEJ.exe (worm) is scanning the 10/172/192 ranges.
The boot.sys file sets a new registry value:
HKLM\SYSTEM\ControlSet001\Control\Session Manager,
PendingFileRenameOperations
If a user logs into a bank, such as bankofamerica.com the Jmlidaek.exe
(trojan) file will write a file to the system such as:
C:\WINDOWS\system32\datkkq32.dll which houses the logged data in this
format:
http://www.bankofamerica.com/ 0:ui_mode:question
5:Current_Passcode:234234234234 8:from:homepage 9:Customer_Type:CA
A:pmbutton:false E:id:******* F:rembme:Y 10:pc:******* 11:state:CA
12:country:null
13:links:https://boaccn.fnfismd.com/bankofamerica/ccn/ccnlogin.asp
14:links:/deposits/checksave/index.cfm?template=check_acct_choices
15:links:https://www.bankofamerica.com/deposits/checkorder/
16:searchCustom__passThrough:true 18:country:USA
19:mapAndList:mapAndList 1E:searchCustom__locationType:BANKINGCENTERS
1F:searchCustom__locationType:ATM |
SearchSearch | |Enter Online ID:|Save this online
ID|Enter Passcode:|Account in: the following geographical location|Sign
In | Service My Mortgage Online Investing Future Scholar
Military Bank OnlineGo |Open an Account| Checking
Accounts Savings Accounts CDs Credit Cards Mortgages Home
EquityGo |Account Services| Reorder Checks Set up direct
deposit Request a Check Card Link accounts Change Address Change Phone
NumberGo | |Address: |City: |or |ZIP Code: |Banking
CentersATMs |Go|More Location Search Options
https://onlineid.bankofamerica.com/cgi-bin/sso.login.controller
0:Access_ID:question 1:reason:reset_request_ca
3:reason:create_passcode_ca 5:reason:resetid_request_ca
7:Customer_Type:CA 8:INVALID_ID_COUNTER:1 9:portal:CA
A:server_check:false B:state:CA E:Cache:******* F:pmbutton:false
10:Access_ID:******* 11:rembme:Y 12:Current_Passcode:null
| | | |
|Enter Online ID:|(5 - 25 numbers and/or letters)|(5 - 25 numbers and/or
letters)| Save this online ID (How does this work?) |Enter Passcode:|(4
- 12 numbers and/or letters)|(4 - 12 numbers and/or letters)|Sign In
|Reset passcode |Forgot or need help with your ID?
This is pertinent to what Secure Science has seen in ‘03 and ‘04 with
Berbew log data (pslogs.txt).
The blind drop appears to be down but this malware was trying to POST
requests to www.vtb.ru/wcef.php
The dropped files appear to be packed with UPX, and are trivially
accessible.
Please let me know if there is anything else you guys want detailed on this.
-Lance James