Analysis

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

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

General

  • Target

    file.exe

  • Size

    352KB

  • MD5

    a7e92b6065a8b7859c2a5f2b6af7456d

  • SHA1

    82e16ca74150f0c18c2b80985cc342e7b68d2b01

  • SHA256

    719e4f0ff66bd18cd517da2f7620b292966225ee7e6185d64de444f2181d51ca

  • SHA512

    2d7271d4ed01d5618c40d1a6f391521bb7bf4e75c7d3d8a815a186c00cf784f0e980042b1b2a0ed27c9e8708fb58f26883e5ea0405f5b2874ef86bb9859ac215

  • SSDEEP

    3072:cny/XreDmKCOImk4sYpUCC1cFzMX2kMZtOBiYrsH6tzwPAW/A0VLn0sP9peUIQoY:yytK/I0GCyCtgPrsHTA4AQIsZYUSz2

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:1704
    • C:\Windows\SysWOW64\cmd.exe
      "C:\Windows\System32\cmd.exe" /C mkdir C:\Windows\SysWOW64\mxtzpoxg\
      2⤵
        PID:1688
      • C:\Windows\SysWOW64\cmd.exe
        "C:\Windows\System32\cmd.exe" /C move /Y "C:\Users\Admin\AppData\Local\Temp\tiahmkph.exe" C:\Windows\SysWOW64\mxtzpoxg\
        2⤵
          PID:1916
        • C:\Windows\SysWOW64\sc.exe
          "C:\Windows\System32\sc.exe" create mxtzpoxg binPath= "C:\Windows\SysWOW64\mxtzpoxg\tiahmkph.exe /d\"C:\Users\Admin\AppData\Local\Temp\file.exe\"" type= own start= auto DisplayName= "wifi support"
          2⤵
          • Launches sc.exe
          PID:792
        • C:\Windows\SysWOW64\sc.exe
          "C:\Windows\System32\sc.exe" description mxtzpoxg "wifi internet conection"
          2⤵
          • Launches sc.exe
          PID:1868
        • C:\Windows\SysWOW64\sc.exe
          "C:\Windows\System32\sc.exe" start mxtzpoxg
          2⤵
          • Launches sc.exe
          PID:1504
        • 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:1392
      • C:\Windows\SysWOW64\mxtzpoxg\tiahmkph.exe
        C:\Windows\SysWOW64\mxtzpoxg\tiahmkph.exe /d"C:\Users\Admin\AppData\Local\Temp\file.exe"
        1⤵
        • Executes dropped EXE
        • Suspicious use of SetThreadContext
        • Suspicious use of WriteProcessMemory
        PID:1760
        • 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:1640
          • 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:752

      Network

      MITRE ATT&CK Matrix ATT&CK v6

      Persistence

      New Service

      1
      T1050

      Modify Existing Service

      1
      T1031

      Registry Run Keys / Startup Folder

      1
      T1060

      Privilege Escalation

      New Service

      1
      T1050

      Defense Evasion

      Disabling Security Tools

      1
      T1089

      Modify Registry

      2
      T1112

      Discovery

      System Information Discovery

      1
      T1082

      Replay Monitor

      Loading Replay Monitor...

      Downloads

      • C:\Users\Admin\AppData\Local\Temp\tiahmkph.exe
        Filesize

        12.9MB

        MD5

        8be1b43a956ab4040a43fa1e43f73860

        SHA1

        d815323b8d6804df51973063b391d9962c98c64e

        SHA256

        996c2006e03669cb3c6a8bfd0e769b1167c3b1d6a39522453e892258a3ae2318

        SHA512

        0e2587ea97b099f75a986d2030e66a23bba1193ffa8d42e18ffba70494afe6b4a522cd2a7f2b627fe2230fa473e5421a06f2824a531fda8c357d859532f20798

      • C:\Windows\SysWOW64\mxtzpoxg\tiahmkph.exe
        Filesize

        12.9MB

        MD5

        8be1b43a956ab4040a43fa1e43f73860

        SHA1

        d815323b8d6804df51973063b391d9962c98c64e

        SHA256

        996c2006e03669cb3c6a8bfd0e769b1167c3b1d6a39522453e892258a3ae2318

        SHA512

        0e2587ea97b099f75a986d2030e66a23bba1193ffa8d42e18ffba70494afe6b4a522cd2a7f2b627fe2230fa473e5421a06f2824a531fda8c357d859532f20798

      • memory/752-111-0x00000000001A0000-0x0000000000291000-memory.dmp
        Filesize

        964KB

      • memory/752-124-0x00000000001A0000-0x0000000000291000-memory.dmp
        Filesize

        964KB

      • memory/752-123-0x00000000001A0000-0x0000000000291000-memory.dmp
        Filesize

        964KB

      • memory/752-122-0x00000000001A0000-0x0000000000291000-memory.dmp
        Filesize

        964KB

      • memory/752-121-0x00000000001A0000-0x0000000000291000-memory.dmp
        Filesize

        964KB

      • memory/752-120-0x00000000001A0000-0x0000000000291000-memory.dmp
        Filesize

        964KB

      • memory/752-119-0x00000000001A0000-0x0000000000291000-memory.dmp
        Filesize

        964KB

      • memory/752-112-0x00000000001A0000-0x0000000000291000-memory.dmp
        Filesize

        964KB

      • memory/1640-88-0x00000000001C0000-0x00000000001D0000-memory.dmp
        Filesize

        64KB

      • memory/1640-93-0x00000000001C0000-0x00000000001D0000-memory.dmp
        Filesize

        64KB

      • memory/1640-74-0x0000000001980000-0x0000000001B8F000-memory.dmp
        Filesize

        2.1MB

      • memory/1640-75-0x00000000001B0000-0x00000000001B6000-memory.dmp
        Filesize

        24KB

      • memory/1640-78-0x00000000001C0000-0x00000000001D0000-memory.dmp
        Filesize

        64KB

      • memory/1640-81-0x00000000001C0000-0x00000000001D0000-memory.dmp
        Filesize

        64KB

      • memory/1640-82-0x00000000001C0000-0x00000000001D0000-memory.dmp
        Filesize

        64KB

      • memory/1640-83-0x00000000001C0000-0x00000000001D0000-memory.dmp
        Filesize

        64KB

      • memory/1640-84-0x00000000001C0000-0x00000000001D0000-memory.dmp
        Filesize

        64KB

      • memory/1640-85-0x00000000001C0000-0x00000000001D0000-memory.dmp
        Filesize

        64KB

      • memory/1640-86-0x00000000001C0000-0x00000000001D0000-memory.dmp
        Filesize

        64KB

      • memory/1640-87-0x00000000001C0000-0x00000000001D0000-memory.dmp
        Filesize

        64KB

      • memory/1640-62-0x0000000000080000-0x0000000000095000-memory.dmp
        Filesize

        84KB

      • memory/1640-90-0x00000000001C0000-0x00000000001D0000-memory.dmp
        Filesize

        64KB

      • memory/1640-89-0x00000000001C0000-0x00000000001D0000-memory.dmp
        Filesize

        64KB

      • memory/1640-91-0x00000000001C0000-0x00000000001D0000-memory.dmp
        Filesize

        64KB

      • memory/1640-92-0x00000000001C0000-0x00000000001D0000-memory.dmp
        Filesize

        64KB

      • memory/1640-71-0x0000000001980000-0x0000000001B8F000-memory.dmp
        Filesize

        2.1MB

      • memory/1640-94-0x00000000001C0000-0x00000000001D0000-memory.dmp
        Filesize

        64KB

      • memory/1640-95-0x00000000001C0000-0x00000000001D0000-memory.dmp
        Filesize

        64KB

      • memory/1640-96-0x00000000001C0000-0x00000000001D0000-memory.dmp
        Filesize

        64KB

      • memory/1640-97-0x00000000001C0000-0x00000000001D0000-memory.dmp
        Filesize

        64KB

      • memory/1640-98-0x0000000000310000-0x0000000000315000-memory.dmp
        Filesize

        20KB

      • memory/1640-101-0x0000000000310000-0x0000000000315000-memory.dmp
        Filesize

        20KB

      • memory/1640-102-0x0000000005960000-0x0000000005D6B000-memory.dmp
        Filesize

        4.0MB

      • memory/1640-105-0x0000000005960000-0x0000000005D6B000-memory.dmp
        Filesize

        4.0MB

      • memory/1640-106-0x0000000000320000-0x0000000000327000-memory.dmp
        Filesize

        28KB

      • memory/1640-110-0x0000000000080000-0x0000000000095000-memory.dmp
        Filesize

        84KB

      • memory/1640-69-0x0000000000080000-0x0000000000095000-memory.dmp
        Filesize

        84KB

      • memory/1640-68-0x0000000000080000-0x0000000000095000-memory.dmp
        Filesize

        84KB

      • memory/1640-67-0x0000000000080000-0x0000000000095000-memory.dmp
        Filesize

        84KB

      • memory/1640-61-0x000000007EFDE000-0x000000007EFDF000-memory.dmp
        Filesize

        4KB

      • memory/1640-60-0x0000000000080000-0x0000000000095000-memory.dmp
        Filesize

        84KB

      • memory/1704-66-0x0000000000400000-0x00000000007FD000-memory.dmp
        Filesize

        4.0MB

      • memory/1704-56-0x00000000001C0000-0x00000000001D3000-memory.dmp
        Filesize

        76KB

      • memory/1760-64-0x0000000000400000-0x00000000007FD000-memory.dmp
        Filesize

        4.0MB