Analysis

  • max time kernel
    145s
  • max time network
    153s
  • platform
    windows7_x64
  • resource
    win7-20220812-en
  • resource tags

    arch:x64arch:x86image:win7-20220812-enlocale:en-usos:windows7-x64system
  • submitted
    06-02-2023 14:23

General

  • Target

    file.exe

  • Size

    322KB

  • MD5

    47446aab4c244063fa5b4852650093e0

  • SHA1

    383d4023a79edd924cad180666ea969613fdec4d

  • SHA256

    0c2e01cf79746b2f2824d9f39dc28a5b28a36ea0d3866395ad8ed30e961e7ad1

  • SHA512

    f28183ad13ca4c9bd79d11e18779f2a4cf6ed3500f0ca5015443a4b075a87090d2f008ee8d4b980eca396f99b580cae371085137ca69d4df75c4194a46e48c4f

  • SSDEEP

    3072:qfz6kXLWSkKDRKs8SgL8ZridHKS7WALXQSYC1//+sxA7rNAMV+v3:eHLLkKYs8SxrGHzqcYClRkM

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.

  • xmrig

    XMRig is a high performance, open source, cross platform CPU/GPU miner.

  • XMRig Miner payload 2 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:988
    • C:\Windows\SysWOW64\cmd.exe
      "C:\Windows\System32\cmd.exe" /C mkdir C:\Windows\SysWOW64\sjxtrbel\
      2⤵
        PID:1380
      • C:\Windows\SysWOW64\cmd.exe
        "C:\Windows\System32\cmd.exe" /C move /Y "C:\Users\Admin\AppData\Local\Temp\pfywtcji.exe" C:\Windows\SysWOW64\sjxtrbel\
        2⤵
          PID:1736
        • C:\Windows\SysWOW64\sc.exe
          "C:\Windows\System32\sc.exe" create sjxtrbel binPath= "C:\Windows\SysWOW64\sjxtrbel\pfywtcji.exe /d\"C:\Users\Admin\AppData\Local\Temp\file.exe\"" type= own start= auto DisplayName= "wifi support"
          2⤵
          • Launches sc.exe
          PID:2016
        • C:\Windows\SysWOW64\sc.exe
          "C:\Windows\System32\sc.exe" description sjxtrbel "wifi internet conection"
          2⤵
          • Launches sc.exe
          PID:1904
        • C:\Windows\SysWOW64\sc.exe
          "C:\Windows\System32\sc.exe" start sjxtrbel
          2⤵
          • Launches sc.exe
          PID:1212
        • 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:996
      • C:\Windows\SysWOW64\sjxtrbel\pfywtcji.exe
        C:\Windows\SysWOW64\sjxtrbel\pfywtcji.exe /d"C:\Users\Admin\AppData\Local\Temp\file.exe"
        1⤵
        • Executes dropped EXE
        • Suspicious use of SetThreadContext
        • Suspicious use of WriteProcessMemory
        PID:1484
        • C:\Windows\SysWOW64\svchost.exe
          svchost.exe
          2⤵
          • 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:1352
          • 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:832

      Network

      MITRE ATT&CK Enterprise v6

      Replay Monitor

      Loading Replay Monitor...

      Downloads

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

        Filesize

        12.9MB

        MD5

        5a8b23363b1259e032064f70101de4f5

        SHA1

        c9be7c08f6d1570af0a33cfc1732a348f842d93a

        SHA256

        3ca752ce3b55c8b4924489905169d74ff02aacf4f6c80e63a587b86c3e8ce15f

        SHA512

        57c24ddc4e06d84e81db2d3cdb9b859a49dc837dcb3bd650790ab56422603b3d15ae5c922bb75c7f863b4b898d75e4fe7e20fc0209cdb5f2e0da5df751419ed2

      • C:\Windows\SysWOW64\sjxtrbel\pfywtcji.exe

        Filesize

        12.9MB

        MD5

        5a8b23363b1259e032064f70101de4f5

        SHA1

        c9be7c08f6d1570af0a33cfc1732a348f842d93a

        SHA256

        3ca752ce3b55c8b4924489905169d74ff02aacf4f6c80e63a587b86c3e8ce15f

        SHA512

        57c24ddc4e06d84e81db2d3cdb9b859a49dc837dcb3bd650790ab56422603b3d15ae5c922bb75c7f863b4b898d75e4fe7e20fc0209cdb5f2e0da5df751419ed2

      • memory/832-101-0x0000000000230000-0x0000000000321000-memory.dmp

        Filesize

        964KB

      • memory/832-106-0x00000000002C259C-mapping.dmp

      • memory/832-99-0x0000000000230000-0x0000000000321000-memory.dmp

        Filesize

        964KB

      • memory/988-56-0x00000000005BC000-0x00000000005D1000-memory.dmp

        Filesize

        84KB

      • memory/988-58-0x0000000000400000-0x000000000046B000-memory.dmp

        Filesize

        428KB

      • memory/988-67-0x0000000000400000-0x000000000046B000-memory.dmp

        Filesize

        428KB

      • memory/988-54-0x0000000075021000-0x0000000075023000-memory.dmp

        Filesize

        8KB

      • memory/988-57-0x0000000000220000-0x0000000000233000-memory.dmp

        Filesize

        76KB

      • memory/988-66-0x00000000005BC000-0x00000000005D1000-memory.dmp

        Filesize

        84KB

      • memory/996-65-0x0000000000000000-mapping.dmp

      • memory/1212-63-0x0000000000000000-mapping.dmp

      • memory/1352-83-0x0000000000130000-0x0000000000136000-memory.dmp

        Filesize

        24KB

      • memory/1352-98-0x0000000000080000-0x0000000000095000-memory.dmp

        Filesize

        84KB

      • memory/1352-72-0x0000000000080000-0x0000000000095000-memory.dmp

        Filesize

        84KB

      • memory/1352-73-0x0000000000089A6B-mapping.dmp

      • memory/1352-70-0x0000000000080000-0x0000000000095000-memory.dmp

        Filesize

        84KB

      • memory/1352-95-0x00000000001A0000-0x00000000001A7000-memory.dmp

        Filesize

        28KB

      • memory/1352-79-0x0000000000080000-0x0000000000095000-memory.dmp

        Filesize

        84KB

      • memory/1352-80-0x0000000001980000-0x0000000001B8F000-memory.dmp

        Filesize

        2.1MB

      • memory/1352-92-0x00000000059F0000-0x0000000005DFB000-memory.dmp

        Filesize

        4.0MB

      • memory/1352-86-0x0000000000140000-0x0000000000150000-memory.dmp

        Filesize

        64KB

      • memory/1352-89-0x0000000000150000-0x0000000000155000-memory.dmp

        Filesize

        20KB

      • memory/1380-55-0x0000000000000000-mapping.dmp

      • memory/1484-76-0x0000000000400000-0x000000000046B000-memory.dmp

        Filesize

        428KB

      • memory/1484-75-0x00000000005EC000-0x0000000000601000-memory.dmp

        Filesize

        84KB

      • memory/1736-59-0x0000000000000000-mapping.dmp

      • memory/1904-62-0x0000000000000000-mapping.dmp

      • memory/2016-61-0x0000000000000000-mapping.dmp