Analysis

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

    arch:x64arch:x86image:win7-20230220-enlocale:en-usos:windows7-x64system
  • submitted
    01-05-2023 18:58

General

  • Target

    file.exe

  • Size

    303KB

  • MD5

    dd18a455e9d700d656ce6965cee1a068

  • SHA1

    bb23d970e98a6a6ec178fc6c9c82689b3e92ee7c

  • SHA256

    18643a9a6e4b61e967e428fadb2d4bb52dfed8a949b4a39cb461c2e3a8e6d207

  • SHA512

    71dc5ce080f2f95f2b68bcd135cfbbb9d020e10f58972b4f90ac98a3794f7791857139d45f417d127182bb26caca996a94c95008f2fc0ccc8a3c1b16dd07b531

  • SSDEEP

    3072:duhpDHOnUv1WfCBuL4IdkVDJNhA+GHRIBiSp5z5DT4zknffhd+OH:shpDH9vEfQQrdkB7Fi05ykn3v+y

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).

  • Modifies data under HKEY_USERS 5 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:1780
    • C:\Windows\SysWOW64\cmd.exe
      "C:\Windows\System32\cmd.exe" /C mkdir C:\Windows\SysWOW64\zlqwfbmr\
      2⤵
        PID:1740
      • C:\Windows\SysWOW64\cmd.exe
        "C:\Windows\System32\cmd.exe" /C move /Y "C:\Users\Admin\AppData\Local\Temp\vhpmsflj.exe" C:\Windows\SysWOW64\zlqwfbmr\
        2⤵
          PID:1216
        • C:\Windows\SysWOW64\sc.exe
          "C:\Windows\System32\sc.exe" create zlqwfbmr binPath= "C:\Windows\SysWOW64\zlqwfbmr\vhpmsflj.exe /d\"C:\Users\Admin\AppData\Local\Temp\file.exe\"" type= own start= auto DisplayName= "wifi support"
          2⤵
          • Launches sc.exe
          PID:332
        • C:\Windows\SysWOW64\sc.exe
          "C:\Windows\System32\sc.exe" description zlqwfbmr "wifi internet conection"
          2⤵
          • Launches sc.exe
          PID:600
        • C:\Windows\SysWOW64\sc.exe
          "C:\Windows\System32\sc.exe" start zlqwfbmr
          2⤵
          • Launches sc.exe
          PID:2032
        • 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:708
      • C:\Windows\SysWOW64\zlqwfbmr\vhpmsflj.exe
        C:\Windows\SysWOW64\zlqwfbmr\vhpmsflj.exe /d"C:\Users\Admin\AppData\Local\Temp\file.exe"
        1⤵
        • Executes dropped EXE
        • Suspicious use of SetThreadContext
        • Suspicious use of WriteProcessMemory
        PID:1548
        • 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:848
          • C:\Windows\SysWOW64\svchost.exe
            svchost.exe -o fastpool.xyz:10060 -u 9mLwUkiK8Yp89zQQYodWKN29jVVVz1cWDFZctWxge16Zi3TpHnSBnnVcCDhSRXdesnMBdVjtDwh1N71KD9z37EzgKSM1tmS.70000 -p x -k -a cn/half
            3⤵
            • Suspicious use of AdjustPrivilegeToken
            PID:368

      Network

      MITRE ATT&CK Enterprise v6

      Replay Monitor

      Loading Replay Monitor...

      Downloads

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

        Filesize

        12.3MB

        MD5

        e6b08116df829570f77b161574d0db71

        SHA1

        484e31ac29ce2aa9e0628784148882d1c0dffa11

        SHA256

        599e06e4e2733b15bddae80d7e8d5d22f98f38c9afca890125ce18869a8c6d2b

        SHA512

        22a1dc4bce9f6b65e90cafc4f5c36c97e33fe53e12380aadd5bbe444e7508105bb66e57d08f3b0b6c05dcf1ec5fbbdd5540ccfce3e8e5af6d15282dc5baefe7c

      • C:\Windows\SysWOW64\zlqwfbmr\vhpmsflj.exe

        Filesize

        12.3MB

        MD5

        e6b08116df829570f77b161574d0db71

        SHA1

        484e31ac29ce2aa9e0628784148882d1c0dffa11

        SHA256

        599e06e4e2733b15bddae80d7e8d5d22f98f38c9afca890125ce18869a8c6d2b

        SHA512

        22a1dc4bce9f6b65e90cafc4f5c36c97e33fe53e12380aadd5bbe444e7508105bb66e57d08f3b0b6c05dcf1ec5fbbdd5540ccfce3e8e5af6d15282dc5baefe7c

      • memory/368-112-0x00000000001C0000-0x00000000002B1000-memory.dmp

        Filesize

        964KB

      • memory/368-125-0x00000000001C0000-0x00000000002B1000-memory.dmp

        Filesize

        964KB

      • memory/368-124-0x00000000001C0000-0x00000000002B1000-memory.dmp

        Filesize

        964KB

      • memory/368-123-0x00000000001C0000-0x00000000002B1000-memory.dmp

        Filesize

        964KB

      • memory/368-122-0x00000000001C0000-0x00000000002B1000-memory.dmp

        Filesize

        964KB

      • memory/368-121-0x00000000001C0000-0x00000000002B1000-memory.dmp

        Filesize

        964KB

      • memory/368-120-0x00000000001C0000-0x00000000002B1000-memory.dmp

        Filesize

        964KB

      • memory/368-113-0x00000000001C0000-0x00000000002B1000-memory.dmp

        Filesize

        964KB

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

        Filesize

        64KB

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

        Filesize

        64KB

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

        Filesize

        84KB

      • memory/848-73-0x0000000001C20000-0x0000000001E2F000-memory.dmp

        Filesize

        2.1MB

      • memory/848-77-0x0000000000190000-0x0000000000196000-memory.dmp

        Filesize

        24KB

      • memory/848-76-0x0000000001C20000-0x0000000001E2F000-memory.dmp

        Filesize

        2.1MB

      • memory/848-80-0x00000000001A0000-0x00000000001B0000-memory.dmp

        Filesize

        64KB

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

        Filesize

        64KB

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

        Filesize

        64KB

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

        Filesize

        64KB

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

        Filesize

        64KB

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

        Filesize

        64KB

      • memory/848-63-0x000000007EFDE000-0x000000007EFDF000-memory.dmp

        Filesize

        4KB

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

        Filesize

        64KB

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

        Filesize

        64KB

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

        Filesize

        64KB

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

        Filesize

        64KB

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

        Filesize

        64KB

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

        Filesize

        64KB

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

        Filesize

        84KB

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

        Filesize

        64KB

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

        Filesize

        64KB

      • memory/848-98-0x00000000001A0000-0x00000000001B0000-memory.dmp

        Filesize

        64KB

      • memory/848-99-0x00000000001A0000-0x00000000001B0000-memory.dmp

        Filesize

        64KB

      • memory/848-100-0x00000000001C0000-0x00000000001C5000-memory.dmp

        Filesize

        20KB

      • memory/848-103-0x00000000001C0000-0x00000000001C5000-memory.dmp

        Filesize

        20KB

      • memory/848-104-0x00000000057A0000-0x0000000005BAB000-memory.dmp

        Filesize

        4.0MB

      • memory/848-107-0x00000000057A0000-0x0000000005BAB000-memory.dmp

        Filesize

        4.0MB

      • memory/848-108-0x0000000000240000-0x0000000000247000-memory.dmp

        Filesize

        28KB

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

        Filesize

        84KB

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

        Filesize

        84KB

      • memory/848-64-0x0000000000080000-0x0000000000095000-memory.dmp

        Filesize

        84KB

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

        Filesize

        84KB

      • memory/1548-65-0x0000000000400000-0x0000000000A5C000-memory.dmp

        Filesize

        6.4MB

      • memory/1780-56-0x0000000000220000-0x0000000000233000-memory.dmp

        Filesize

        76KB

      • memory/1780-59-0x0000000000400000-0x0000000000A5C000-memory.dmp

        Filesize

        6.4MB

      • memory/1780-58-0x0000000000400000-0x0000000000A5C000-memory.dmp

        Filesize

        6.4MB