Analysis

  • max time kernel
    145s
  • max time network
    121s
  • platform
    windows7_x64
  • resource
    win7-20231129-en
  • resource tags

    arch:x64arch:x86image:win7-20231129-enlocale:en-usos:windows7-x64system
  • submitted
    24-06-2024 20:13

General

  • Target

    2024-06-24_9b9054b8fa3af489629b5d432c7293bb_mafia.exe

  • Size

    10.8MB

  • MD5

    9b9054b8fa3af489629b5d432c7293bb

  • SHA1

    908b4692abe5046dbd8634922d75da4d50dd0756

  • SHA256

    77c4f8d22224f19fe811c10c45c71dad6ff55c2b65d2cec7ccd35a94cc63285c

  • SHA512

    2b2cb1c2bb5adf7e1590e229dcb39ddca20bbc0fe7d45c48ff432af3d842d8dbaeb053a768e855c1b6d2a74b300c87814b485d4fd5598f5e43071ee5ef5999b3

  • SSDEEP

    6144:I+rWO2zeSPDjMXMH7Ll4aFpWVqIwUAP97GEwHrG2+e1x2:I+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.

  • Windows security bypass 2 TTPs 1 IoCs
  • Creates new service(s) 2 TTPs
  • Modifies Windows Firewall 2 TTPs 1 IoCs
  • Sets service image path in registry 2 TTPs 1 IoCs
  • 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 30 IoCs

Processes

  • C:\Users\Admin\AppData\Local\Temp\2024-06-24_9b9054b8fa3af489629b5d432c7293bb_mafia.exe
    "C:\Users\Admin\AppData\Local\Temp\2024-06-24_9b9054b8fa3af489629b5d432c7293bb_mafia.exe"
    1⤵
    • Suspicious use of WriteProcessMemory
    PID:2356
    • C:\Windows\SysWOW64\cmd.exe
      "C:\Windows\System32\cmd.exe" /C mkdir C:\Windows\SysWOW64\sxkjuksl\
      2⤵
        PID:804
      • C:\Windows\SysWOW64\cmd.exe
        "C:\Windows\System32\cmd.exe" /C move /Y "C:\Users\Admin\AppData\Local\Temp\nsffihxc.exe" C:\Windows\SysWOW64\sxkjuksl\
        2⤵
          PID:2212
        • C:\Windows\SysWOW64\sc.exe
          "C:\Windows\System32\sc.exe" create sxkjuksl binPath= "C:\Windows\SysWOW64\sxkjuksl\nsffihxc.exe /d\"C:\Users\Admin\AppData\Local\Temp\2024-06-24_9b9054b8fa3af489629b5d432c7293bb_mafia.exe\"" type= own start= auto DisplayName= "wifi support"
          2⤵
          • Launches sc.exe
          PID:2852
        • C:\Windows\SysWOW64\sc.exe
          "C:\Windows\System32\sc.exe" description sxkjuksl "wifi internet conection"
          2⤵
          • Launches sc.exe
          PID:2560
        • C:\Windows\SysWOW64\sc.exe
          "C:\Windows\System32\sc.exe" start sxkjuksl
          2⤵
          • Launches sc.exe
          PID:2660
        • 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:2476
      • C:\Windows\SysWOW64\sxkjuksl\nsffihxc.exe
        C:\Windows\SysWOW64\sxkjuksl\nsffihxc.exe /d"C:\Users\Admin\AppData\Local\Temp\2024-06-24_9b9054b8fa3af489629b5d432c7293bb_mafia.exe"
        1⤵
        • Executes dropped EXE
        • Suspicious use of SetThreadContext
        • Suspicious use of WriteProcessMemory
        PID:2708
        • C:\Windows\SysWOW64\svchost.exe
          svchost.exe
          2⤵
          • Windows security bypass
          • Sets service image path in registry
          • Deletes itself
          PID:3032

      Network

      MITRE ATT&CK Enterprise v15

      Replay Monitor

      Loading Replay Monitor...

      Downloads

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

        Filesize

        11.9MB

        MD5

        a94e7fb39c94cf739f7f30e41b991656

        SHA1

        669698957263d55426b069855e1f3c7deb9130cc

        SHA256

        1104747a656d8b243d940cdbafaf67a19bc7e893a9cacffa5ee5348aa9679172

        SHA512

        d6284d359f2ef2819769d374901aec311c7c8a9be460081aa9ec08db0bd02436897fc4d018c26b4912e29d8da8b9e0e83435b0dbfb9d29e7cc774a5600cc2474

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

        Filesize

        84KB

      • memory/2356-1-0x0000000000620000-0x0000000000720000-memory.dmp

        Filesize

        1024KB

      • memory/2356-14-0x0000000000400000-0x0000000000415000-memory.dmp

        Filesize

        84KB

      • memory/2356-13-0x0000000000400000-0x000000000051A000-memory.dmp

        Filesize

        1.1MB

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

        Filesize

        1.1MB

      • memory/3032-7-0x0000000000080000-0x0000000000095000-memory.dmp

        Filesize

        84KB

      • memory/3032-10-0x0000000000080000-0x0000000000095000-memory.dmp

        Filesize

        84KB

      • memory/3032-9-0x000000007EFDE000-0x000000007EFDF000-memory.dmp

        Filesize

        4KB

      • memory/3032-15-0x0000000000080000-0x0000000000095000-memory.dmp

        Filesize

        84KB

      • memory/3032-16-0x0000000000080000-0x0000000000095000-memory.dmp

        Filesize

        84KB