Analysis

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

    arch:x64arch:x86image:win10v2004-20230220-enlocale:en-usos:windows10-2004-x64system
  • submitted
    02/06/2023, 15:51

General

  • Target
    DocumentsDOC03029314B76858448A444B4C03EEC7E6FB5554.exe
  • Size 855KB
  • Sample230602-tagh5scc43
  • SHA256 ea2f8aca010aba1f0ebb0b5af2de53b2a4106d5feb147f34e0a8e615eccd77c1
  • MD5 SHA1 SHA512 SSDEEP

Malware Config

Extracted

Family
  • remcos

Botnet
  • PHARMACY-PEOPLE

C2
  • www.supremeswitchgear.com:32676

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

    logs.dat

  • keylog_flag

    false

  • keylog_folder

    rematsssss

  • mouse_option

    false

  • mutex

    Rmc-JQWAXU

  • screenshot_crypt

    false

  • screenshot_flag

    false

  • screenshot_folder

    Screenshots

  • screenshot_path

    %AppData%

  • screenshot_time

    10

  • take_screenshot_option

    false

  • take_screenshot_time

    5

Signatures

  • ModiLoader, DBatLoader

    ModiLoader is a Delphi loader that misuses cloud services to download other malicious families.

  • Remcos

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

  • ModiLoader Second Stage 1 IoCs
  • Executes dropped EXE 2 IoCs
  • Loads dropped DLL 1 IoCs
  • Adds Run key to start application 2 TTPs 1 IoCs
  • Checks installed software on the system 1 TTPs

    Looks up Uninstall key entries in the registry to enumerate software on the system.

  • Enumerates system info in registry 2 TTPs 3 IoCs
  • Runs ping.exe 1 TTPs 1 IoCs
  • Script User-Agent 2 IoCs

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

  • Suspicious behavior: EnumeratesProcesses 3 IoCs
  • Suspicious use of AdjustPrivilegeToken 1 IoCs
  • Suspicious use of WriteProcessMemory 47 IoCs

Processes

  • C:\Users\Admin\AppData\Local\Temp\DocumentsDOC03029314B76858448A444B4C03EEC7E6FB5554.exe
    "C:\Users\Admin\AppData\Local\Temp\DocumentsDOC03029314B76858448A444B4C03EEC7E6FB5554.exe"
    1⤵
    • Adds Run key to start application
    • Suspicious use of WriteProcessMemory
    PID:5080
    • C:\Windows\SysWOW64\cmd.exe
      C:\Windows\system32\cmd.exe /c ""C:\Users\Public\Libraries\DjijnqggO.bat" "
      2⤵
      • Suspicious use of WriteProcessMemory
      PID:2028
      • C:\Windows\SysWOW64\cmd.exe
        C:\Windows\system32\cmd.exe /S /D /c" ECHO F"
        3⤵
          PID:3736
        • C:\Windows\SysWOW64\xcopy.exe
          xcopy "easinvoker.exe" "C:\Windows \System32\" /K /D /H /Y
          3⤵
          • Enumerates system info in registry
          PID:5096
        • C:\Windows\SysWOW64\xcopy.exe
          xcopy "netutils.dll" "C:\Windows \System32\" /K /D /H /Y
          3⤵
          • Enumerates system info in registry
          PID:2848
        • C:\Windows\SysWOW64\cmd.exe
          C:\Windows\system32\cmd.exe /S /D /c" ECHO F"
          3⤵
            PID:2792
          • C:\Windows\SysWOW64\cmd.exe
            C:\Windows\system32\cmd.exe /S /D /c" ECHO F"
            3⤵
              PID:4508
            • C:\Windows\SysWOW64\xcopy.exe
              xcopy "KDECO.bat" "C:\Windows \System32\" /K /D /H /Y
              3⤵
              • Enumerates system info in registry
              PID:4116
            • C:\Windows \System32\easinvoker.exe
              "C:\Windows \System32\easinvoker.exe"
              3⤵
              • Executes dropped EXE
              • Loads dropped DLL
              • Suspicious use of WriteProcessMemory
              PID:4108
              • C:\Windows\system32\cmd.exe
                C:\Windows\system32\cmd.exe /c ""C:\windows \system32\KDECO.bat""
                4⤵
                • Suspicious use of WriteProcessMemory
                PID:2100
                • C:\Windows\System32\WindowsPowerShell\v1.0\powershell.exe
                  powershell -WindowStyle Hidden -inputformat none -outputformat none -NonInteractive -Command "Add-MpPreference -ExclusionPath 'C:\Users'"
                  5⤵
                  • Suspicious behavior: EnumeratesProcesses
                  • Suspicious use of AdjustPrivilegeToken
                  PID:2860
            • C:\Windows\SysWOW64\PING.EXE
              ping 127.0.0.1 -n 6
              3⤵
              • Runs ping.exe
              PID:3836
          • C:\Users\Public\Libraries\ggqnjijD.pif
            "C:\Users\Public\Libraries\ggqnjijD.pif"
            2⤵
            • Executes dropped EXE
            PID:2036

        Network

              MITRE ATT&CK Enterprise v6

              Replay Monitor

              Loading Replay Monitor...

              Downloads

              logs.dat

              • Path C:\ProgramData\rematsssss\logs.dat
              • Size 144B
              • SHA256 0930cb554fb62f949b1256c0fd1cf9f8eded0774c627041dcd2dce1c93ea3743
              • MD5 SHA1 SHA512

              __PSScriptPolicyTest_abqxf0xy.hfm.ps1

              • Path C:\Users\Admin\AppData\Local\Temp\__PSScriptPolicyTest_abqxf0xy.hfm.ps1
              • Size 60B
              • SHA256 96ad1146eb96877eab5942ae0736b82d8b5e2039a80d3d6932665c1a4c87dcf7
              • MD5 SHA1 SHA512

              DjijnqggO.bat

              • Path C:\Users\Public\Libraries\DjijnqggO.bat
              • Size 411B
              • SHA256 5a11c5641c476891aa30e7ecfa57c2639f6827d8640061f73e9afec0adbbd7d2
              • MD5 SHA1 SHA512

              KDECO.bat

              • Path C:\Users\Public\Libraries\KDECO.bat
              • Size 155B
              • SHA256 37c59c8398279916cfce45f8c5e3431058248f5e3bef4d9f5c0f44a7d564f82e
              • MD5 SHA1 SHA512

              easinvoker.exe

              • Path C:\Users\Public\Libraries\easinvoker.exe
              • Size 128KB
              • SHA256 30951db8bfc21640645aa9144cfeaa294bb7c6980ef236d28552b6f4f3f92a96
              • MD5 SHA1 SHA512 SSDEEP

              ggqnjijD.pif

              • Path C:\Users\Public\Libraries\ggqnjijD.pif
              • Size 66KB
              • SHA256 7bcdc2e607abc65ef93afd009c3048970d9e8d1c2a18fc571562396b13ebb301
              • MD5 SHA1 SHA512 SSDEEP

              ggqnjijD.pif

              • Path C:\Users\Public\Libraries\ggqnjijD.pif
              • Size 66KB
              • SHA256 7bcdc2e607abc65ef93afd009c3048970d9e8d1c2a18fc571562396b13ebb301
              • MD5 SHA1 SHA512 SSDEEP

              netutils.dll

              • Path C:\Users\Public\Libraries\netutils.dll
              • Size 109KB
              • SHA256 5a5646606eaed05330e6cf1db5c3dd89d8661ff4d3d00e1d6e1231fbcc09c892
              • MD5 SHA1 SHA512 SSDEEP

              easinvoker.exe

              • Path C:\Windows \System32\easinvoker.exe
              • Size 128KB
              • SHA256 30951db8bfc21640645aa9144cfeaa294bb7c6980ef236d28552b6f4f3f92a96
              • MD5 SHA1 SHA512 SSDEEP

              easinvoker.exe

              • Path C:\Windows \System32\easinvoker.exe
              • Size 128KB
              • SHA256 30951db8bfc21640645aa9144cfeaa294bb7c6980ef236d28552b6f4f3f92a96
              • MD5 SHA1 SHA512 SSDEEP

              netutils.dll

              • Path C:\Windows \System32\netutils.dll
              • Size 109KB
              • SHA256 5a5646606eaed05330e6cf1db5c3dd89d8661ff4d3d00e1d6e1231fbcc09c892
              • MD5 SHA1 SHA512 SSDEEP

              netutils.dll

              • Path C:\Windows \System32\netutils.dll
              • Size 109KB
              • SHA256 5a5646606eaed05330e6cf1db5c3dd89d8661ff4d3d00e1d6e1231fbcc09c892
              • MD5 SHA1 SHA512 SSDEEP

              KDECO.bat

              • Path C:\windows \system32\KDECO.bat
              • Size 155B
              • SHA256 37c59c8398279916cfce45f8c5e3431058248f5e3bef4d9f5c0f44a7d564f82e
              • MD5 SHA1 SHA512

              memory/2036-203-0x0000000000400000-0x000000000041A000-memory.dmp

              memory/2036-193-0x0000000000630000-0x00000000006B1000-memory.dmp

              memory/2036-243-0x0000000000630000-0x00000000006B1000-memory.dmp

              memory/2036-220-0x0000000000630000-0x00000000006B1000-memory.dmp

              memory/2036-181-0x0000000000580000-0x0000000000581000-memory.dmp

              memory/2036-242-0x0000000000630000-0x00000000006B1000-memory.dmp

              memory/2036-179-0x00000000001E0000-0x00000000001E1000-memory.dmp

              memory/2036-210-0x0000000000630000-0x00000000006B1000-memory.dmp

              memory/2036-187-0x00000000005E0000-0x00000000005E1000-memory.dmp

              memory/2036-189-0x0000000000630000-0x00000000006B1000-memory.dmp

              memory/2036-191-0x0000000000630000-0x00000000006B1000-memory.dmp

              memory/2036-221-0x0000000000630000-0x00000000006B1000-memory.dmp

              memory/2036-195-0x00000000105A0000-0x0000000010624000-memory.dmp

              memory/2036-194-0x0000000000630000-0x00000000006B1000-memory.dmp

              memory/2036-196-0x0000000000630000-0x00000000006B1000-memory.dmp

              memory/2036-197-0x0000000000630000-0x00000000006B1000-memory.dmp

              memory/2036-198-0x0000000000630000-0x00000000006B1000-memory.dmp

              memory/2036-232-0x0000000000630000-0x00000000006B1000-memory.dmp

              memory/2036-204-0x0000000000630000-0x00000000006B1000-memory.dmp

              memory/2036-231-0x0000000000630000-0x00000000006B1000-memory.dmp

              memory/2036-209-0x0000000000630000-0x00000000006B1000-memory.dmp

              memory/2860-168-0x000001BBD4EE0000-0x000001BBD4F02000-memory.dmp

              memory/4108-159-0x00000000613C0000-0x00000000613E2000-memory.dmp

              memory/5080-186-0x00000000105A0000-0x0000000010624000-memory.dmp

              memory/5080-134-0x0000000003BF0000-0x0000000003C22000-memory.dmp

              memory/5080-133-0x0000000002380000-0x0000000002381000-memory.dmp

              memory/5080-136-0x0000000000400000-0x00000000004DC000-memory.dmp

              memory/5080-178-0x00000000105A0000-0x0000000010624000-memory.dmp