Analysis

  • max time kernel
    151s
  • max time network
    158s
  • platform
    windows10-2004_x64
  • resource
    win10v2004-20240226-en
  • resource tags

    arch:x64arch:x86image:win10v2004-20240226-enlocale:en-usos:windows10-2004-x64system
  • submitted
    21-04-2024 06:57

General

  • Target

    feb515efe8237480211f2fabe3976bdf_JaffaCakes118.exe

  • Size

    13.5MB

  • MD5

    feb515efe8237480211f2fabe3976bdf

  • SHA1

    d30c04512b4e2a34f1825b1fb8742be1d004cbc0

  • SHA256

    2668ea58977d5457c1bcb28d04d1b55692fc7d6a64bfc3413a2cede20e838cf4

  • SHA512

    a3eedc03386d4732ccd22bcaf04a4470bd711cbb3511390abe10394a4fbf5e1309adf549005816784a7e54ec1eb2f2bcdba1121bbe4bbd8460193fa3d70b9a8d

  • SSDEEP

    196608:r+TTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTn:r

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.

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

  • Program crash 2 IoCs
  • Suspicious use of WriteProcessMemory 23 IoCs

Processes

  • C:\Users\Admin\AppData\Local\Temp\feb515efe8237480211f2fabe3976bdf_JaffaCakes118.exe
    "C:\Users\Admin\AppData\Local\Temp\feb515efe8237480211f2fabe3976bdf_JaffaCakes118.exe"
    1⤵
    • Checks computer location settings
    • Suspicious use of WriteProcessMemory
    PID:568
    • C:\Windows\SysWOW64\cmd.exe
      "C:\Windows\System32\cmd.exe" /C mkdir C:\Windows\SysWOW64\mpwqpgtj\
      2⤵
        PID:4448
      • C:\Windows\SysWOW64\cmd.exe
        "C:\Windows\System32\cmd.exe" /C move /Y "C:\Users\Admin\AppData\Local\Temp\nzlttetb.exe" C:\Windows\SysWOW64\mpwqpgtj\
        2⤵
          PID:1188
        • C:\Windows\SysWOW64\sc.exe
          "C:\Windows\System32\sc.exe" create mpwqpgtj binPath= "C:\Windows\SysWOW64\mpwqpgtj\nzlttetb.exe /d\"C:\Users\Admin\AppData\Local\Temp\feb515efe8237480211f2fabe3976bdf_JaffaCakes118.exe\"" type= own start= auto DisplayName= "wifi support"
          2⤵
          • Launches sc.exe
          PID:3780
        • C:\Windows\SysWOW64\sc.exe
          "C:\Windows\System32\sc.exe" description mpwqpgtj "wifi internet conection"
          2⤵
          • Launches sc.exe
          PID:1764
        • C:\Windows\SysWOW64\sc.exe
          "C:\Windows\System32\sc.exe" start mpwqpgtj
          2⤵
          • Launches sc.exe
          PID:4560
        • 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:1984
        • C:\Windows\SysWOW64\WerFault.exe
          C:\Windows\SysWOW64\WerFault.exe -u -p 568 -s 1228
          2⤵
          • Program crash
          PID:2044
      • C:\Windows\SysWOW64\mpwqpgtj\nzlttetb.exe
        C:\Windows\SysWOW64\mpwqpgtj\nzlttetb.exe /d"C:\Users\Admin\AppData\Local\Temp\feb515efe8237480211f2fabe3976bdf_JaffaCakes118.exe"
        1⤵
        • Executes dropped EXE
        • Suspicious use of SetThreadContext
        • Suspicious use of WriteProcessMemory
        PID:4152
        • C:\Windows\SysWOW64\svchost.exe
          svchost.exe
          2⤵
          • Sets service image path in registry
          • Deletes itself
          PID:4708
        • C:\Windows\SysWOW64\WerFault.exe
          C:\Windows\SysWOW64\WerFault.exe -u -p 4152 -s 556
          2⤵
          • Program crash
          PID:5072
      • C:\Windows\SysWOW64\WerFault.exe
        C:\Windows\SysWOW64\WerFault.exe -pss -s 460 -p 568 -ip 568
        1⤵
          PID:4704
        • C:\Windows\SysWOW64\WerFault.exe
          C:\Windows\SysWOW64\WerFault.exe -pss -s 504 -p 4152 -ip 4152
          1⤵
            PID:3880
          • C:\Program Files (x86)\Microsoft\Edge\Application\msedge.exe
            "C:\Program Files (x86)\Microsoft\Edge\Application\msedge.exe" --type=utility --utility-sub-type=asset_store.mojom.AssetStoreService --lang=en-US --service-sandbox-type=asset_store_service --no-appcompat-clear --mojo-platform-channel-handle=3020 --field-trial-handle=3060,i,1774866140584649235,8085848018931772189,262144 --variations-seed-version /prefetch:8
            1⤵
              PID:1560

            Network

            MITRE ATT&CK Enterprise v15

            Replay Monitor

            Loading Replay Monitor...

            Downloads

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

              Filesize

              12.7MB

              MD5

              c0090086d0c4e6a442e4473e3f76e112

              SHA1

              e437d4315c233f9bc238e52e8feb9dfb0aa15696

              SHA256

              38735369e13eca22acde68b2e2e87e11639639554613ad98cc7f4d3d585fe510

              SHA512

              3872c3331583a12cd718569320a3741c0e5bf7b0d77fb1a535977d3637745d3fbc5b5793af01dd888a37f58c584ae365844875b48b857503c8fe85b9bc78d7fb

            • memory/568-1-0x0000000000A50000-0x0000000000B50000-memory.dmp

              Filesize

              1024KB

            • memory/568-2-0x00000000001C0000-0x00000000001D3000-memory.dmp

              Filesize

              76KB

            • memory/568-3-0x0000000000400000-0x0000000000870000-memory.dmp

              Filesize

              4.4MB

            • memory/568-8-0x0000000000400000-0x0000000000870000-memory.dmp

              Filesize

              4.4MB

            • memory/4152-9-0x0000000000980000-0x0000000000A80000-memory.dmp

              Filesize

              1024KB

            • memory/4152-10-0x00000000001D0000-0x00000000001E3000-memory.dmp

              Filesize

              76KB

            • memory/4152-13-0x0000000000400000-0x0000000000870000-memory.dmp

              Filesize

              4.4MB

            • memory/4152-16-0x0000000000400000-0x0000000000870000-memory.dmp

              Filesize

              4.4MB

            • memory/4708-11-0x0000000000A30000-0x0000000000A45000-memory.dmp

              Filesize

              84KB

            • memory/4708-15-0x0000000000A30000-0x0000000000A45000-memory.dmp

              Filesize

              84KB

            • memory/4708-18-0x0000000000A30000-0x0000000000A45000-memory.dmp

              Filesize

              84KB

            • memory/4708-19-0x0000000000A30000-0x0000000000A45000-memory.dmp

              Filesize

              84KB

            • memory/4708-20-0x0000000000A30000-0x0000000000A45000-memory.dmp

              Filesize

              84KB