Analysis

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

    arch:x64arch:x86image:win10v2004-20240426-enlocale:en-usos:windows10-2004-x64system
  • submitted
    23-05-2024 21:07

General

  • Target

    2024-05-23_5756d11a99b650ab3936a31831582bb6_mafia.exe

  • Size

    12.6MB

  • MD5

    5756d11a99b650ab3936a31831582bb6

  • SHA1

    5ecaa88c1ec46d05b8e6a6423d1c553372035aad

  • SHA256

    fb05f62c977f9e9fd53ea0a129de87e4e1052824735d38b02af55332cbedae29

  • SHA512

    8b1a6fcc61d0e8db24032a68394b305c096b166948218a9b25f2103412f8845b429043156a4f524e90a8d81915e350bbe9245943e913e9bea8250802f8585f8a

  • SSDEEP

    6144:DqXbY+SAjhUEzmPy0jhM7o8cMp/sP9gdiw1fagj1x2EqqqqqqqqqqqqqqqqqqqqD:DqLY+4oAfj2o8X/U9gdjj

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

  • Suspicious use of WriteProcessMemory 23 IoCs

Processes

  • C:\Users\Admin\AppData\Local\Temp\2024-05-23_5756d11a99b650ab3936a31831582bb6_mafia.exe
    "C:\Users\Admin\AppData\Local\Temp\2024-05-23_5756d11a99b650ab3936a31831582bb6_mafia.exe"
    1⤵
    • Checks computer location settings
    • Suspicious use of WriteProcessMemory
    PID:728
    • C:\Windows\SysWOW64\cmd.exe
      "C:\Windows\System32\cmd.exe" /C mkdir C:\Windows\SysWOW64\axwjyuhz\
      2⤵
        PID:1320
      • C:\Windows\SysWOW64\cmd.exe
        "C:\Windows\System32\cmd.exe" /C move /Y "C:\Users\Admin\AppData\Local\Temp\kegdxtdi.exe" C:\Windows\SysWOW64\axwjyuhz\
        2⤵
          PID:2572
        • C:\Windows\SysWOW64\sc.exe
          "C:\Windows\System32\sc.exe" create axwjyuhz binPath= "C:\Windows\SysWOW64\axwjyuhz\kegdxtdi.exe /d\"C:\Users\Admin\AppData\Local\Temp\2024-05-23_5756d11a99b650ab3936a31831582bb6_mafia.exe\"" type= own start= auto DisplayName= "wifi support"
          2⤵
          • Launches sc.exe
          PID:360
        • C:\Windows\SysWOW64\sc.exe
          "C:\Windows\System32\sc.exe" description axwjyuhz "wifi internet conection"
          2⤵
          • Launches sc.exe
          PID:4716
        • C:\Windows\SysWOW64\sc.exe
          "C:\Windows\System32\sc.exe" start axwjyuhz
          2⤵
          • Launches sc.exe
          PID:1936
        • 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:4720
      • C:\Windows\SysWOW64\axwjyuhz\kegdxtdi.exe
        C:\Windows\SysWOW64\axwjyuhz\kegdxtdi.exe /d"C:\Users\Admin\AppData\Local\Temp\2024-05-23_5756d11a99b650ab3936a31831582bb6_mafia.exe"
        1⤵
        • Executes dropped EXE
        • Suspicious use of SetThreadContext
        • Suspicious use of WriteProcessMemory
        PID:4244
        • C:\Windows\SysWOW64\svchost.exe
          svchost.exe
          2⤵
          • Sets service image path in registry
          • Deletes itself
          PID:4400

      Network

      MITRE ATT&CK Enterprise v15

      Replay Monitor

      Loading Replay Monitor...

      Downloads

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

        Filesize

        12.6MB

        MD5

        b9718d960592d5593844f516f31dfb81

        SHA1

        461fbf17dca02fbfe3ac9b8634b8c315fb42e83d

        SHA256

        2d90c86ab09e28b2106b1c2b435254fa36e836cf0f395c176dfca0a2d4e8be85

        SHA512

        1ba60af3ad2c082b7fa7e9053aa98bcf5a5896378ce7fdcc1959e85d2a9066b4d5009f4237b38fa18537f2ef5868cc91a29060831695178111e10cd2b8bdc414

      • memory/728-1-0x00000000006F0000-0x00000000007F0000-memory.dmp

        Filesize

        1024KB

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

        Filesize

        84KB

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

        Filesize

        1.1MB

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

        Filesize

        84KB

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

        Filesize

        1.1MB

      • memory/4244-10-0x0000000000400000-0x000000000051A000-memory.dmp

        Filesize

        1.1MB

      • memory/4400-9-0x0000000000D80000-0x0000000000D95000-memory.dmp

        Filesize

        84KB

      • memory/4400-12-0x0000000000D80000-0x0000000000D95000-memory.dmp

        Filesize

        84KB

      • memory/4400-15-0x0000000000D80000-0x0000000000D95000-memory.dmp

        Filesize

        84KB