Analysis

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

    arch:x64arch:x86image:win7-20231129-enlocale:en-usos:windows7-x64system
  • submitted
    19-04-2024 23:54

General

  • Target

    fb73068efdfde57d29a3df074187c6ea_JaffaCakes118.exe

  • Size

    12.5MB

  • MD5

    fb73068efdfde57d29a3df074187c6ea

  • SHA1

    8d9a6e40cde061adf51f90cedc6507e33234a637

  • SHA256

    be638ce3f50bd9363616977cf69fec3c86338df920078832a63f055f37a3f219

  • SHA512

    96889edca6938c5d8c61c042402d232f5dff0112bb735799d18bbe8fb9e6a6ffd58b9a0e681074a66fa4119c1346e2669396d649fc662f0be76c83a1097bd457

  • SSDEEP

    12288:UZnHC6Hf1kkNWoRjta3JZlPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPP/:UdHCRiG

Malware Config

Extracted

Family

tofsee

C2

defeatwax.ru

refabyd.info

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

  • Suspicious use of WriteProcessMemory 30 IoCs

Processes

  • C:\Users\Admin\AppData\Local\Temp\fb73068efdfde57d29a3df074187c6ea_JaffaCakes118.exe
    "C:\Users\Admin\AppData\Local\Temp\fb73068efdfde57d29a3df074187c6ea_JaffaCakes118.exe"
    1⤵
    • Suspicious use of WriteProcessMemory
    PID:1972
    • C:\Windows\SysWOW64\cmd.exe
      "C:\Windows\System32\cmd.exe" /C mkdir C:\Windows\SysWOW64\lmjdifjb\
      2⤵
        PID:1728
      • C:\Windows\SysWOW64\cmd.exe
        "C:\Windows\System32\cmd.exe" /C move /Y "C:\Users\Admin\AppData\Local\Temp\keagrbtz.exe" C:\Windows\SysWOW64\lmjdifjb\
        2⤵
          PID:2328
        • C:\Windows\SysWOW64\sc.exe
          "C:\Windows\System32\sc.exe" create lmjdifjb binPath= "C:\Windows\SysWOW64\lmjdifjb\keagrbtz.exe /d\"C:\Users\Admin\AppData\Local\Temp\fb73068efdfde57d29a3df074187c6ea_JaffaCakes118.exe\"" type= own start= auto DisplayName= "wifi support"
          2⤵
          • Launches sc.exe
          PID:1696
        • C:\Windows\SysWOW64\sc.exe
          "C:\Windows\System32\sc.exe" description lmjdifjb "wifi internet conection"
          2⤵
          • Launches sc.exe
          PID:2720
        • C:\Windows\SysWOW64\sc.exe
          "C:\Windows\System32\sc.exe" start lmjdifjb
          2⤵
          • Launches sc.exe
          PID:2572
        • 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:2652
      • C:\Windows\SysWOW64\lmjdifjb\keagrbtz.exe
        C:\Windows\SysWOW64\lmjdifjb\keagrbtz.exe /d"C:\Users\Admin\AppData\Local\Temp\fb73068efdfde57d29a3df074187c6ea_JaffaCakes118.exe"
        1⤵
        • Executes dropped EXE
        • Suspicious use of SetThreadContext
        • Suspicious use of WriteProcessMemory
        PID:2632
        • C:\Windows\SysWOW64\svchost.exe
          svchost.exe
          2⤵
          • Windows security bypass
          • Sets service image path in registry
          • Deletes itself
          PID:2968

      Network

      MITRE ATT&CK Enterprise v15

      Replay Monitor

      Loading Replay Monitor...

      Downloads

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

        Filesize

        10.1MB

        MD5

        726045961344b73b9ec443f74ebba317

        SHA1

        5fb048a25756b5ce60303aa71abbf88008f97386

        SHA256

        3fff1733fc63a39a4df3e91d2658b2ee1dca77b622df917ad316a75db16c2812

        SHA512

        b319ff4ca197e9b5be90f2e8938bf2b0b2b9b1f36b615439db39657362f37a48a045ea37aec32093d432a929108f02036867b7666c71b2f38109b8150fd05f1e

      • memory/1972-1-0x00000000004F0000-0x00000000005F0000-memory.dmp

        Filesize

        1024KB

      • memory/1972-3-0x0000000000020000-0x0000000000033000-memory.dmp

        Filesize

        76KB

      • memory/1972-4-0x0000000000400000-0x000000000044C000-memory.dmp

        Filesize

        304KB

      • memory/1972-8-0x0000000000400000-0x000000000044C000-memory.dmp

        Filesize

        304KB

      • memory/2632-12-0x0000000000400000-0x000000000044C000-memory.dmp

        Filesize

        304KB

      • memory/2632-9-0x0000000000620000-0x0000000000720000-memory.dmp

        Filesize

        1024KB

      • memory/2632-15-0x0000000000400000-0x000000000044C000-memory.dmp

        Filesize

        304KB

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

        Filesize

        84KB

      • memory/2968-11-0x000000007EFDE000-0x000000007EFDF000-memory.dmp

        Filesize

        4KB

      • memory/2968-14-0x0000000000080000-0x0000000000095000-memory.dmp

        Filesize

        84KB

      • memory/2968-19-0x0000000000080000-0x0000000000095000-memory.dmp

        Filesize

        84KB

      • memory/2968-20-0x0000000000080000-0x0000000000095000-memory.dmp

        Filesize

        84KB

      • memory/2968-21-0x0000000000080000-0x0000000000095000-memory.dmp

        Filesize

        84KB