Analysis

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

    arch:x64arch:x86image:win10v2004-20240412-enlocale:en-usos:windows10-2004-x64system
  • submitted
    16-04-2024 09:20

General

  • Target

    f32ca9eb5d903eab1e1a44925ad6b06d_JaffaCakes118.exe

  • Size

    14.4MB

  • MD5

    f32ca9eb5d903eab1e1a44925ad6b06d

  • SHA1

    bfade70a1efc8b1e6080ba077b11ded84c6459e5

  • SHA256

    bbabfa154211eda8107840625da2a440e6c9ba85aab42a8d870a5f862caf4dbe

  • SHA512

    a22e9a2ed01b8021f5f74af0dded81523a63c907742242d298c1290feaf616f305b4af045a6b31ff862722bd1907f3a9d338ed8707d0f04c721e9a3d44f39ffd

  • SSDEEP

    49152:lc67fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffv:lc6

Malware Config

Extracted

Family

tofsee

C2

43.231.4.6

lazystax.ru

Signatures

  • Tofsee

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

  • Creates new service(s) 1 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\f32ca9eb5d903eab1e1a44925ad6b06d_JaffaCakes118.exe
    "C:\Users\Admin\AppData\Local\Temp\f32ca9eb5d903eab1e1a44925ad6b06d_JaffaCakes118.exe"
    1⤵
    • Checks computer location settings
    • Suspicious use of WriteProcessMemory
    PID:3732
    • C:\Windows\SysWOW64\cmd.exe
      "C:\Windows\System32\cmd.exe" /C mkdir C:\Windows\SysWOW64\ohngsxtd\
      2⤵
        PID:3600
      • C:\Windows\SysWOW64\cmd.exe
        "C:\Windows\System32\cmd.exe" /C move /Y "C:\Users\Admin\AppData\Local\Temp\kupkbbua.exe" C:\Windows\SysWOW64\ohngsxtd\
        2⤵
          PID:1128
        • C:\Windows\SysWOW64\sc.exe
          "C:\Windows\System32\sc.exe" create ohngsxtd binPath= "C:\Windows\SysWOW64\ohngsxtd\kupkbbua.exe /d\"C:\Users\Admin\AppData\Local\Temp\f32ca9eb5d903eab1e1a44925ad6b06d_JaffaCakes118.exe\"" type= own start= auto DisplayName= "wifi support"
          2⤵
          • Launches sc.exe
          PID:1620
        • C:\Windows\SysWOW64\sc.exe
          "C:\Windows\System32\sc.exe" description ohngsxtd "wifi internet conection"
          2⤵
          • Launches sc.exe
          PID:5080
        • C:\Windows\SysWOW64\sc.exe
          "C:\Windows\System32\sc.exe" start ohngsxtd
          2⤵
          • Launches sc.exe
          PID:4404
        • 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:4608
      • C:\Windows\SysWOW64\ohngsxtd\kupkbbua.exe
        C:\Windows\SysWOW64\ohngsxtd\kupkbbua.exe /d"C:\Users\Admin\AppData\Local\Temp\f32ca9eb5d903eab1e1a44925ad6b06d_JaffaCakes118.exe"
        1⤵
        • Executes dropped EXE
        • Suspicious use of SetThreadContext
        • Suspicious use of WriteProcessMemory
        PID:2824
        • C:\Windows\SysWOW64\svchost.exe
          svchost.exe
          2⤵
          • Sets service image path in registry
          • Deletes itself
          PID:4700

      Network

      MITRE ATT&CK Enterprise v15

      Replay Monitor

      Loading Replay Monitor...

      Downloads

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

        Filesize

        13.7MB

        MD5

        d6b449a5229e1914df39b91f65bc818c

        SHA1

        6ce95c677b4a21e22a1b85dd8c210e681c857b8d

        SHA256

        598452804be261714e2effd214638652cc715618c6ca45c5252ff7d6111ba897

        SHA512

        4281e041382d09f5d342d72afc375e640feb6d4086fbbe99f59e9105f383d983aac46871a8659a70619d723876e1a3d2413e3bd6384d798c2060159f357a23fc

      • memory/2824-10-0x0000000000D30000-0x0000000000E30000-memory.dmp

        Filesize

        1024KB

      • memory/2824-13-0x0000000000400000-0x0000000000C1C000-memory.dmp

        Filesize

        8.1MB

      • memory/2824-15-0x0000000000400000-0x0000000000C1C000-memory.dmp

        Filesize

        8.1MB

      • memory/3732-4-0x0000000000400000-0x0000000000C1C000-memory.dmp

        Filesize

        8.1MB

      • memory/3732-2-0x0000000000D60000-0x0000000000D73000-memory.dmp

        Filesize

        76KB

      • memory/3732-7-0x0000000000400000-0x0000000000C1C000-memory.dmp

        Filesize

        8.1MB

      • memory/3732-8-0x0000000000D60000-0x0000000000D73000-memory.dmp

        Filesize

        76KB

      • memory/3732-1-0x0000000000E20000-0x0000000000F20000-memory.dmp

        Filesize

        1024KB

      • memory/4700-11-0x0000000001070000-0x0000000001085000-memory.dmp

        Filesize

        84KB

      • memory/4700-16-0x0000000001070000-0x0000000001085000-memory.dmp

        Filesize

        84KB

      • memory/4700-17-0x0000000001070000-0x0000000001085000-memory.dmp

        Filesize

        84KB

      • memory/4700-18-0x0000000001070000-0x0000000001085000-memory.dmp

        Filesize

        84KB