Analysis

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

    arch:x64arch:x86image:win7-20230220-enlocale:en-usos:windows7-x64system
  • submitted
    12-05-2023 15:07

General

  • Target

    file.exe

  • Size

    322KB

  • MD5

    c5b9c27223bd12c6e6a0c46e5b411e27

  • SHA1

    68a98a64db6df5bd1feb25288220d186da8fd718

  • SHA256

    8cc3efde2ca85f0d6fcb6c96beb65869fdf024b3f948c1de79194e7988446a48

  • SHA512

    a3d3cdb3b4b1ba88000fc458a4def99973d4a0794b9e85bd0f156643c925f3baaebe9f3a900f8b260568af484671c6c0d541e7403a6d7075a1783088ba630299

  • SSDEEP

    3072:1KPtaVfzJ+xzpxIUgpnvKxvGbqqV7gPCs5lQYFwGfABn/9vOsJp7t:QetWkUIy4bVyCs5ZQ/OI

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

  • 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:1412
    • C:\Windows\SysWOW64\cmd.exe
      "C:\Windows\System32\cmd.exe" /C mkdir C:\Windows\SysWOW64\prrbixhd\
      2⤵
        PID:1736
      • C:\Windows\SysWOW64\cmd.exe
        "C:\Windows\System32\cmd.exe" /C move /Y "C:\Users\Admin\AppData\Local\Temp\xnnkwiyw.exe" C:\Windows\SysWOW64\prrbixhd\
        2⤵
          PID:688
        • C:\Windows\SysWOW64\sc.exe
          "C:\Windows\System32\sc.exe" create prrbixhd binPath= "C:\Windows\SysWOW64\prrbixhd\xnnkwiyw.exe /d\"C:\Users\Admin\AppData\Local\Temp\file.exe\"" type= own start= auto DisplayName= "wifi support"
          2⤵
          • Launches sc.exe
          PID:1164
        • C:\Windows\SysWOW64\sc.exe
          "C:\Windows\System32\sc.exe" description prrbixhd "wifi internet conection"
          2⤵
          • Launches sc.exe
          PID:1492
        • C:\Windows\SysWOW64\sc.exe
          "C:\Windows\System32\sc.exe" start prrbixhd
          2⤵
          • Launches sc.exe
          PID:1764
        • 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:572
      • C:\Windows\SysWOW64\prrbixhd\xnnkwiyw.exe
        C:\Windows\SysWOW64\prrbixhd\xnnkwiyw.exe /d"C:\Users\Admin\AppData\Local\Temp\file.exe"
        1⤵
        • Executes dropped EXE
        • Suspicious use of SetThreadContext
        • Suspicious use of WriteProcessMemory
        PID:1848
        • 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:1912
          • C:\Windows\SysWOW64\svchost.exe
            svchost.exe --algo=cn-heavy/xhv -o fastpool.xyz:10162 -u abLocBRHmSKSwfZexhaPDFFpUd1Szsp1RWPZktGDuK2w76S3KYNSLGndi55YtoHoKYbSFMCCWjxzTfwHxZSm7sNLe2rAq4DqbAF.70000 -p x -k
            3⤵
            • Suspicious use of AdjustPrivilegeToken
            PID:624

      Network

      MITRE ATT&CK Enterprise v6

      Replay Monitor

      Loading Replay Monitor...

      Downloads

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

        Filesize

        13.8MB

        MD5

        cecf29fb54d1e0911556d5e149b21f22

        SHA1

        d708b4816a9ad729a77772bf293e99b69b6ceacd

        SHA256

        931b0f9a0d2250d575e4a4729c584c7dc755b2049e970f0ab5d273567b6e87a6

        SHA512

        9bdc1a66249f3c1d3d425703db6149115899512013e402e76b8731b2d33b1072077b4c876b97067a6f37549e22d6314a65c09856e736c968366f647a0d2e7c42

      • C:\Windows\SysWOW64\prrbixhd\xnnkwiyw.exe

        Filesize

        13.8MB

        MD5

        cecf29fb54d1e0911556d5e149b21f22

        SHA1

        d708b4816a9ad729a77772bf293e99b69b6ceacd

        SHA256

        931b0f9a0d2250d575e4a4729c584c7dc755b2049e970f0ab5d273567b6e87a6

        SHA512

        9bdc1a66249f3c1d3d425703db6149115899512013e402e76b8731b2d33b1072077b4c876b97067a6f37549e22d6314a65c09856e736c968366f647a0d2e7c42

      • memory/624-118-0x0000000000230000-0x0000000000321000-memory.dmp

        Filesize

        964KB

      • memory/624-123-0x0000000000230000-0x0000000000321000-memory.dmp

        Filesize

        964KB

      • memory/624-122-0x0000000000230000-0x0000000000321000-memory.dmp

        Filesize

        964KB

      • memory/624-121-0x0000000000230000-0x0000000000321000-memory.dmp

        Filesize

        964KB

      • memory/624-120-0x0000000000230000-0x0000000000321000-memory.dmp

        Filesize

        964KB

      • memory/624-119-0x0000000000230000-0x0000000000321000-memory.dmp

        Filesize

        964KB

      • memory/624-110-0x0000000000230000-0x0000000000321000-memory.dmp

        Filesize

        964KB

      • memory/624-109-0x0000000000230000-0x0000000000321000-memory.dmp

        Filesize

        964KB

      • memory/1412-59-0x0000000000400000-0x00000000006CE000-memory.dmp

        Filesize

        2.8MB

      • memory/1412-56-0x00000000001B0000-0x00000000001C3000-memory.dmp

        Filesize

        76KB

      • memory/1848-66-0x0000000000400000-0x00000000006CE000-memory.dmp

        Filesize

        2.8MB

      • memory/1912-88-0x0000000000160000-0x0000000000170000-memory.dmp

        Filesize

        64KB

      • memory/1912-94-0x0000000000160000-0x0000000000170000-memory.dmp

        Filesize

        64KB

      • memory/1912-81-0x0000000000160000-0x0000000000170000-memory.dmp

        Filesize

        64KB

      • memory/1912-82-0x0000000000160000-0x0000000000170000-memory.dmp

        Filesize

        64KB

      • memory/1912-83-0x0000000000160000-0x0000000000170000-memory.dmp

        Filesize

        64KB

      • memory/1912-84-0x0000000000160000-0x0000000000170000-memory.dmp

        Filesize

        64KB

      • memory/1912-85-0x0000000000160000-0x0000000000170000-memory.dmp

        Filesize

        64KB

      • memory/1912-86-0x0000000000160000-0x0000000000170000-memory.dmp

        Filesize

        64KB

      • memory/1912-87-0x0000000000160000-0x0000000000170000-memory.dmp

        Filesize

        64KB

      • memory/1912-77-0x0000000000160000-0x0000000000170000-memory.dmp

        Filesize

        64KB

      • memory/1912-89-0x0000000000160000-0x0000000000170000-memory.dmp

        Filesize

        64KB

      • memory/1912-90-0x0000000000160000-0x0000000000170000-memory.dmp

        Filesize

        64KB

      • memory/1912-91-0x0000000000160000-0x0000000000170000-memory.dmp

        Filesize

        64KB

      • memory/1912-92-0x0000000000160000-0x0000000000170000-memory.dmp

        Filesize

        64KB

      • memory/1912-93-0x0000000000160000-0x0000000000170000-memory.dmp

        Filesize

        64KB

      • memory/1912-80-0x0000000000160000-0x0000000000170000-memory.dmp

        Filesize

        64KB

      • memory/1912-96-0x0000000000160000-0x0000000000170000-memory.dmp

        Filesize

        64KB

      • memory/1912-95-0x0000000000160000-0x0000000000170000-memory.dmp

        Filesize

        64KB

      • memory/1912-97-0x0000000000170000-0x0000000000175000-memory.dmp

        Filesize

        20KB

      • memory/1912-100-0x0000000000170000-0x0000000000175000-memory.dmp

        Filesize

        20KB

      • memory/1912-101-0x00000000056A0000-0x0000000005AAB000-memory.dmp

        Filesize

        4.0MB

      • memory/1912-104-0x00000000056A0000-0x0000000005AAB000-memory.dmp

        Filesize

        4.0MB

      • memory/1912-105-0x0000000000180000-0x0000000000187000-memory.dmp

        Filesize

        28KB

      • memory/1912-74-0x0000000000150000-0x0000000000156000-memory.dmp

        Filesize

        24KB

      • memory/1912-73-0x0000000001960000-0x0000000001B6F000-memory.dmp

        Filesize

        2.1MB

      • memory/1912-116-0x0000000000080000-0x0000000000095000-memory.dmp

        Filesize

        84KB

      • memory/1912-70-0x0000000001960000-0x0000000001B6F000-memory.dmp

        Filesize

        2.1MB

      • memory/1912-68-0x0000000000080000-0x0000000000095000-memory.dmp

        Filesize

        84KB

      • memory/1912-67-0x0000000000080000-0x0000000000095000-memory.dmp

        Filesize

        84KB

      • memory/1912-63-0x0000000000080000-0x0000000000095000-memory.dmp

        Filesize

        84KB

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

        Filesize

        4KB

      • memory/1912-61-0x0000000000080000-0x0000000000095000-memory.dmp

        Filesize

        84KB