Analysis

  • max time kernel
    125s
  • max time network
    152s
  • platform
    windows10-2004_x64
  • resource
    win10v2004-20240508-en
  • resource tags

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

General

  • Target

    2024-07-01_363971fcae368f8ce07971a103a074a6_mafia.exe

  • Size

    12.3MB

  • MD5

    363971fcae368f8ce07971a103a074a6

  • SHA1

    b49dd18b2739ce13bcb1c5448b5a4f94ae7937e4

  • SHA256

    e93b25fc2f3e98f23a875044f9aef1c511c32ce591d126f4729c7434f10eab46

  • SHA512

    b218906d9faf45946714baa0dc87dc160bd26c7b169905a8b56347828e849f2e91731632c1e792425857297fe4d65dd13f9bc88a4f47ad577fb4cf102884c785

  • SSDEEP

    6144:1+rWO2zeSPDjMXMH7Ll4aFpWVqIwUAP97GEwHrG2+e1x2:1+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_363971fcae368f8ce07971a103a074a6_mafia.exe
    "C:\Users\Admin\AppData\Local\Temp\2024-07-01_363971fcae368f8ce07971a103a074a6_mafia.exe"
    1⤵
    • Checks computer location settings
    • Suspicious use of WriteProcessMemory
    PID:3172
    • C:\Windows\SysWOW64\cmd.exe
      "C:\Windows\System32\cmd.exe" /C mkdir C:\Windows\SysWOW64\ygxvkpwl\
      2⤵
        PID:116
      • C:\Windows\SysWOW64\cmd.exe
        "C:\Windows\System32\cmd.exe" /C move /Y "C:\Users\Admin\AppData\Local\Temp\vrlrxzri.exe" C:\Windows\SysWOW64\ygxvkpwl\
        2⤵
          PID:4472
        • C:\Windows\SysWOW64\sc.exe
          "C:\Windows\System32\sc.exe" create ygxvkpwl binPath= "C:\Windows\SysWOW64\ygxvkpwl\vrlrxzri.exe /d\"C:\Users\Admin\AppData\Local\Temp\2024-07-01_363971fcae368f8ce07971a103a074a6_mafia.exe\"" type= own start= auto DisplayName= "wifi support"
          2⤵
          • Launches sc.exe
          PID:1088
        • C:\Windows\SysWOW64\sc.exe
          "C:\Windows\System32\sc.exe" description ygxvkpwl "wifi internet conection"
          2⤵
          • Launches sc.exe
          PID:1272
        • C:\Windows\SysWOW64\sc.exe
          "C:\Windows\System32\sc.exe" start ygxvkpwl
          2⤵
          • Launches sc.exe
          PID:2300
        • 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:3288
      • C:\Windows\SysWOW64\ygxvkpwl\vrlrxzri.exe
        C:\Windows\SysWOW64\ygxvkpwl\vrlrxzri.exe /d"C:\Users\Admin\AppData\Local\Temp\2024-07-01_363971fcae368f8ce07971a103a074a6_mafia.exe"
        1⤵
        • Executes dropped EXE
        • Suspicious use of SetThreadContext
        • Suspicious use of WriteProcessMemory
        PID:3896
        • C:\Windows\SysWOW64\svchost.exe
          svchost.exe
          2⤵
          • Sets service image path in registry
          • Deletes itself
          PID:1764

      Network

      MITRE ATT&CK Enterprise v15

      Replay Monitor

      Loading Replay Monitor...

      Downloads

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

        Filesize

        14.8MB

        MD5

        85fbe8cc19c82339264ef169cd2408b3

        SHA1

        24aa4209acc6164959e0e1fc320abd188be229ed

        SHA256

        efbb4ed2545e4939616eb6e1d788121074a1258caae9ce8e1ad4225554eeae92

        SHA512

        d8b5b6c932abd8da2d4d430f8ef7a9fb3d109661f108c7e023c31eb2372fb047e75fc132caafc6c9af987ba27dc7b3eee03908a826fc62e663d42e73f3338096

      • memory/1764-14-0x0000000000DA0000-0x0000000000DB5000-memory.dmp

        Filesize

        84KB

      • memory/1764-16-0x0000000000DA0000-0x0000000000DB5000-memory.dmp

        Filesize

        84KB

      • memory/1764-10-0x0000000000DA0000-0x0000000000DB5000-memory.dmp

        Filesize

        84KB

      • memory/3172-1-0x0000000000840000-0x0000000000940000-memory.dmp

        Filesize

        1024KB

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

        Filesize

        84KB

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

        Filesize

        84KB

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

        Filesize

        1.1MB

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

        Filesize

        1.1MB

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

        Filesize

        1.1MB

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

        Filesize

        1.1MB