Analysis

  • max time kernel
    149s
  • max time network
    155s
  • platform
    windows10-2004_x64
  • resource
    win10v2004-20240611-en
  • resource tags

    arch:x64arch:x86image:win10v2004-20240611-enlocale:en-usos:windows10-2004-x64system
  • submitted
    01-07-2024 21:25

General

  • Target

    2024-07-01_6715d07a7cac2eb14e9dbf43ea9817f3_mafia.exe

  • Size

    13.2MB

  • MD5

    6715d07a7cac2eb14e9dbf43ea9817f3

  • SHA1

    36c8911ad3c835d4cdea03e2263cfc6423501210

  • SHA256

    24c40cf3cb1f4373c84a318ddb3a79299adad8a8a072d2ea179ebd6f127d620f

  • SHA512

    cb3ffc8dc574273850a84a01a9ffb24ceb458a8e19cd3b02b5ac9806efa13824f29e364be7fe4d62725dc6e7757a8d4994a2fa51549b0a7b1444fc6a8fd4a5d0

  • SSDEEP

    6144:x+rWO2zeSPDjMXMH7Ll4aFpWVqIwUAP97GEwHrG2+e1x2:x+r1IeSXMXc7LlxWV4Ug97GZ+ej

Malware Config

Extracted

Family

tofsee

C2

43.231.4.7

lazystax.ru

Signatures

  • Tofsee

    Backdoor/botnet which carries out malicious activities based on commands from a C2 server.

  • Creates new service(s) 2 TTPs
  • Modifies Windows Firewall 2 TTPs 1 IoCs
  • Sets service image path in registry 2 TTPs 1 IoCs
  • Checks computer location settings 2 TTPs 1 IoCs

    Looks up country code configured in the registry, likely geofence.

  • Deletes itself 1 IoCs
  • Executes dropped EXE 1 IoCs
  • Suspicious use of SetThreadContext 1 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).

  • Event Triggered Execution: Netsh Helper DLL 1 TTPs 3 IoCs

    Netsh.exe (also referred to as Netshell) is a command-line scripting utility used to interact with the network configuration of a system.

  • Suspicious use of WriteProcessMemory 23 IoCs

Processes

  • C:\Users\Admin\AppData\Local\Temp\2024-07-01_6715d07a7cac2eb14e9dbf43ea9817f3_mafia.exe
    "C:\Users\Admin\AppData\Local\Temp\2024-07-01_6715d07a7cac2eb14e9dbf43ea9817f3_mafia.exe"
    1⤵
    • Checks computer location settings
    • Suspicious use of WriteProcessMemory
    PID:4660
    • C:\Windows\SysWOW64\cmd.exe
      "C:\Windows\System32\cmd.exe" /C mkdir C:\Windows\SysWOW64\pemtksm\
      2⤵
        PID:3544
      • C:\Windows\SysWOW64\cmd.exe
        "C:\Windows\System32\cmd.exe" /C move /Y "C:\Users\Admin\AppData\Local\Temp\tvqhyszs.exe" C:\Windows\SysWOW64\pemtksm\
        2⤵
          PID:4332
        • C:\Windows\SysWOW64\sc.exe
          "C:\Windows\System32\sc.exe" create pemtksm binPath= "C:\Windows\SysWOW64\pemtksm\tvqhyszs.exe /d\"C:\Users\Admin\AppData\Local\Temp\2024-07-01_6715d07a7cac2eb14e9dbf43ea9817f3_mafia.exe\"" type= own start= auto DisplayName= "wifi support"
          2⤵
          • Launches sc.exe
          PID:1844
        • C:\Windows\SysWOW64\sc.exe
          "C:\Windows\System32\sc.exe" description pemtksm "wifi internet conection"
          2⤵
          • Launches sc.exe
          PID:2532
        • C:\Windows\SysWOW64\sc.exe
          "C:\Windows\System32\sc.exe" start pemtksm
          2⤵
          • Launches sc.exe
          PID:4548
        • 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
          • Event Triggered Execution: Netsh Helper DLL
          PID:4988
      • C:\Windows\SysWOW64\pemtksm\tvqhyszs.exe
        C:\Windows\SysWOW64\pemtksm\tvqhyszs.exe /d"C:\Users\Admin\AppData\Local\Temp\2024-07-01_6715d07a7cac2eb14e9dbf43ea9817f3_mafia.exe"
        1⤵
        • Executes dropped EXE
        • Suspicious use of SetThreadContext
        • Suspicious use of WriteProcessMemory
        PID:3744
        • C:\Windows\SysWOW64\svchost.exe
          svchost.exe
          2⤵
          • Sets service image path in registry
          • Deletes itself
          PID:4824

      Network

      MITRE ATT&CK Enterprise v15

      Replay Monitor

      Loading Replay Monitor...

      Downloads

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

        Filesize

        14.9MB

        MD5

        c28bd7bbe17ca145b4a93bc8beab8dfc

        SHA1

        a3eeb2b1726f2b7beb876dbfa0568501535adc60

        SHA256

        585a4414e40b913bde7fa033c72f44a940a7938f4e165ad99ba9ec36af303fc0

        SHA512

        7a80a76c2eded11b987b65062cf4d0df3b54a5b43918adc78c1b298f72b5f872b27dbb2c501c33bc0879e50ce7d3ac62ac8510bf059fb164a7792b749d591a87

      • memory/3744-9-0x0000000000400000-0x000000000051A000-memory.dmp

        Filesize

        1.1MB

      • memory/3744-11-0x0000000000400000-0x000000000051A000-memory.dmp

        Filesize

        1.1MB

      • memory/3744-15-0x0000000000400000-0x000000000051A000-memory.dmp

        Filesize

        1.1MB

      • memory/4660-1-0x00000000005C0000-0x00000000006C0000-memory.dmp

        Filesize

        1024KB

      • memory/4660-2-0x0000000000400000-0x0000000000415000-memory.dmp

        Filesize

        84KB

      • memory/4660-7-0x0000000000400000-0x0000000000415000-memory.dmp

        Filesize

        84KB

      • memory/4660-6-0x0000000000400000-0x000000000051A000-memory.dmp

        Filesize

        1.1MB

      • memory/4824-10-0x0000000000330000-0x0000000000345000-memory.dmp

        Filesize

        84KB

      • memory/4824-13-0x0000000000330000-0x0000000000345000-memory.dmp

        Filesize

        84KB

      • memory/4824-16-0x0000000000330000-0x0000000000345000-memory.dmp

        Filesize

        84KB