Analysis

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

    arch:x64arch:x86image:win7-20230220-enlocale:en-usos:windows7-x64system
  • submitted
    17-04-2023 02:40

General

  • Target

    file.exe

  • Size

    351KB

  • MD5

    5d2d9772ede423e38610247a6b1ceaef

  • SHA1

    05a7d5e88b7d76c3bac82863e0ecdeee3c7062b8

  • SHA256

    354b9ec827fa56fd50c0193ae8a49cd5de791012a94603efde7322a79a1e4173

  • SHA512

    5aa2741e5ecd9f287274e7011dde190c30a7037fca69e1094a550a82fadb9ceac9728eb7ac9d47431aeb7cd0b56eacdc5ef8b39dcd451352169b1a346709c64a

  • SSDEEP

    6144:BdBva6fLfwWbJQtkLzq7rPjmAdFAZb4N2:Bd9/DfwWbJ9LqP6AdF4

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:1548
    • C:\Windows\SysWOW64\cmd.exe
      "C:\Windows\System32\cmd.exe" /C mkdir C:\Windows\SysWOW64\iqxmdqmd\
      2⤵
        PID:1432
      • C:\Windows\SysWOW64\cmd.exe
        "C:\Windows\System32\cmd.exe" /C move /Y "C:\Users\Admin\AppData\Local\Temp\qkkcfptf.exe" C:\Windows\SysWOW64\iqxmdqmd\
        2⤵
          PID:1940
        • C:\Windows\SysWOW64\sc.exe
          "C:\Windows\System32\sc.exe" create iqxmdqmd binPath= "C:\Windows\SysWOW64\iqxmdqmd\qkkcfptf.exe /d\"C:\Users\Admin\AppData\Local\Temp\file.exe\"" type= own start= auto DisplayName= "wifi support"
          2⤵
          • Launches sc.exe
          PID:1672
        • C:\Windows\SysWOW64\sc.exe
          "C:\Windows\System32\sc.exe" description iqxmdqmd "wifi internet conection"
          2⤵
          • Launches sc.exe
          PID:676
        • C:\Windows\SysWOW64\sc.exe
          "C:\Windows\System32\sc.exe" start iqxmdqmd
          2⤵
          • Launches sc.exe
          PID:1716
        • 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:1984
      • C:\Windows\SysWOW64\iqxmdqmd\qkkcfptf.exe
        C:\Windows\SysWOW64\iqxmdqmd\qkkcfptf.exe /d"C:\Users\Admin\AppData\Local\Temp\file.exe"
        1⤵
        • Executes dropped EXE
        • Suspicious use of SetThreadContext
        • Suspicious use of WriteProcessMemory
        PID:432
        • 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:576
          • 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:1432

      Network

      MITRE ATT&CK Enterprise v6

      Replay Monitor

      Loading Replay Monitor...

      Downloads

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

        Filesize

        10.4MB

        MD5

        909bcddffa6dee81602a3ffebb8148aa

        SHA1

        7da8fe78d3a223aa5cdcdfc73e8d6e69bd15a3f3

        SHA256

        db31187ad5d1971f129772ada5753222593462df91cd0c5e05d8a9f2d76a53d9

        SHA512

        fe006c698140a07af460b9b8ea1c9a4a6dcd9c9e8b8c39c2f9bd75915df4f6ff0d73cf6026f2d0c3559472592c40dfeeb3bf8cb1c8148346f1cb78073666fcd8

      • C:\Windows\SysWOW64\iqxmdqmd\qkkcfptf.exe

        Filesize

        10.4MB

        MD5

        909bcddffa6dee81602a3ffebb8148aa

        SHA1

        7da8fe78d3a223aa5cdcdfc73e8d6e69bd15a3f3

        SHA256

        db31187ad5d1971f129772ada5753222593462df91cd0c5e05d8a9f2d76a53d9

        SHA512

        fe006c698140a07af460b9b8ea1c9a4a6dcd9c9e8b8c39c2f9bd75915df4f6ff0d73cf6026f2d0c3559472592c40dfeeb3bf8cb1c8148346f1cb78073666fcd8

      • memory/432-64-0x0000000000400000-0x00000000007FD000-memory.dmp

        Filesize

        4.0MB

      • memory/576-88-0x00000000001A0000-0x00000000001B0000-memory.dmp

        Filesize

        64KB

      • memory/576-61-0x000000007EFDE000-0x000000007EFDF000-memory.dmp

        Filesize

        4KB

      • memory/576-62-0x0000000000080000-0x0000000000095000-memory.dmp

        Filesize

        84KB

      • memory/576-90-0x00000000001A0000-0x00000000001B0000-memory.dmp

        Filesize

        64KB

      • memory/576-89-0x00000000001A0000-0x00000000001B0000-memory.dmp

        Filesize

        64KB

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

        Filesize

        84KB

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

        Filesize

        84KB

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

        Filesize

        84KB

      • memory/576-71-0x0000000001910000-0x0000000001B1F000-memory.dmp

        Filesize

        2.1MB

      • memory/576-74-0x0000000001910000-0x0000000001B1F000-memory.dmp

        Filesize

        2.1MB

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

        Filesize

        24KB

      • memory/576-78-0x00000000001A0000-0x00000000001B0000-memory.dmp

        Filesize

        64KB

      • memory/576-81-0x00000000001A0000-0x00000000001B0000-memory.dmp

        Filesize

        64KB

      • memory/576-82-0x00000000001A0000-0x00000000001B0000-memory.dmp

        Filesize

        64KB

      • memory/576-83-0x00000000001A0000-0x00000000001B0000-memory.dmp

        Filesize

        64KB

      • memory/576-91-0x00000000001A0000-0x00000000001B0000-memory.dmp

        Filesize

        64KB

      • memory/576-85-0x00000000001A0000-0x00000000001B0000-memory.dmp

        Filesize

        64KB

      • memory/576-86-0x00000000001A0000-0x00000000001B0000-memory.dmp

        Filesize

        64KB

      • memory/576-87-0x00000000001A0000-0x00000000001B0000-memory.dmp

        Filesize

        64KB

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

        Filesize

        84KB

      • memory/576-106-0x00000000001E0000-0x00000000001E7000-memory.dmp

        Filesize

        28KB

      • memory/576-60-0x0000000000080000-0x0000000000095000-memory.dmp

        Filesize

        84KB

      • memory/576-84-0x00000000001A0000-0x00000000001B0000-memory.dmp

        Filesize

        64KB

      • memory/576-92-0x00000000001A0000-0x00000000001B0000-memory.dmp

        Filesize

        64KB

      • memory/576-93-0x00000000001A0000-0x00000000001B0000-memory.dmp

        Filesize

        64KB

      • memory/576-94-0x00000000001A0000-0x00000000001B0000-memory.dmp

        Filesize

        64KB

      • memory/576-95-0x00000000001A0000-0x00000000001B0000-memory.dmp

        Filesize

        64KB

      • memory/576-96-0x00000000001A0000-0x00000000001B0000-memory.dmp

        Filesize

        64KB

      • memory/576-97-0x00000000001A0000-0x00000000001B0000-memory.dmp

        Filesize

        64KB

      • memory/576-98-0x00000000001B0000-0x00000000001B5000-memory.dmp

        Filesize

        20KB

      • memory/576-101-0x00000000001B0000-0x00000000001B5000-memory.dmp

        Filesize

        20KB

      • memory/576-102-0x0000000005540000-0x000000000594B000-memory.dmp

        Filesize

        4.0MB

      • memory/576-105-0x0000000005540000-0x000000000594B000-memory.dmp

        Filesize

        4.0MB

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

        Filesize

        964KB

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

        Filesize

        964KB

      • memory/1432-112-0x0000000000080000-0x0000000000171000-memory.dmp

        Filesize

        964KB

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

        Filesize

        964KB

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

        Filesize

        964KB

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

        Filesize

        964KB

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

        Filesize

        964KB

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

        Filesize

        964KB

      • memory/1548-55-0x0000000000220000-0x0000000000233000-memory.dmp

        Filesize

        76KB

      • memory/1548-66-0x0000000000400000-0x00000000007FD000-memory.dmp

        Filesize

        4.0MB