- Access exclusive content
- Connect with peers
- Share your expertise
- Find support resources
07-08-2020 10:53 AM
Dear Team,
I don't have much idea about Moriagent malware, i got an instruction i need to create a rule or block this malware
How to stop MortiAgent Malware using snort rule?
I want to stop the MoriAgent malware by applying /using snort rule.
How to configure this in Palo alto ?
Below are snort rule.
1. The below SNORT rule can be used to detect the MoriAgent Beacon.
alert tcp $HOME_NET any -> $EXTERNAL_NET $HTTP_PORTS (msg:" MoriAgent Beacon
HTTP Request"; content:"/Index.php?i="; depth:200; content:"&t="; within:64;
content:"HTTP/1.1"; within:64; content:"Content-Type: application/json"; within:32;
content:"Content-Length: 0"; within:90; threshold:type limit,track by_src,count
1,seconds 120; sid:1000001; rev:001;)
Can anyone help me to understand what I need to do, I searched about this but didn't get much information.
07-15-2020 10:31 AM
Thanks. i have found the pattern of the signature.
07-08-2020 12:42 PM
Check the Threat Vault at the link below for Morti and there's already two antivirus signatures for MortiAgent and a WildFire signature. If you don't find that suitable defense you'll need to look into creating your own custom threat signature.
07-08-2020 01:40 PM
Thanks for the information.
I was unable to find MortiAgent in the PAN threat vault
It is mandatory to create a custom signature for Mortiagent malware.
I have gone through the documents which you provided. if i will create a customer signature what is the threat id we need to use.
07-08-2020 09:19 PM
The threat ID you select doesn't matter, as long as it's within the available range. Some people make enough to actually create a format for numbering their custom IDs, others don't follow one and simply increment with each entry.
07-08-2020 10:12 PM
Thank you for the information, i will check this.
07-09-2020 12:46 PM
Hello,
Make sure your PAN objects are setup for AntiVirus, AntiSpyware, URL Filtering, WildFire, and DNS Sink hole. Then make sure they are applied to all inbound/outbound policies so the traffic is inspected. Also make sure your PAN has the latest Dynamic signatures.
Having the PAN setup for this is a great way to dynamically block malicious traffic. Along with your other products, i.e. desktop antivirus, etc.
Regards,
07-09-2020 11:58 PM
Thank you for your reply. i have found two signature of mortiagent malware below is the snap:-
Apart from this. it is a mandatory to create a custom signature?
07-10-2020 08:22 AM
Hello,
If you have all the other security features turned on and dynamic updates working and up to date. I would say you are good, however check the endpoint AV and make sure its working and maybe even run a full scan.
Regards,
07-10-2020 10:29 AM
Thank you for the valuable information.
07-14-2020 03:59 AM
I got the instruction from the gov. i need to create a custom signature for Mortiagent. They have sent some files.
In the files, there is some IOC's:-
1 - Host base indicator( Which is mentioned some MD5 and SHA values)
2 - Network base indicator( Which is mentioned in some IP address list).
To create a custom signature which pattern and references i need to choose ? below is the snort rule:-
alert tcp $HOME_NET any -> $EXTERNAL_NET $HTTP_PORTS (msg:" MoriAgent Beacon HTTP Request"; content:"/Index.php?i="; depth:200; content:"&t="; within:64; content:"HTTP/1.1"; within:64; content:"Content-Type: application/json"; within:32; content:"Content-Length: 0"; within:90; threshold:type limit,track by_src,count
1,seconds 120; sid:1000001; rev:001;)
- For the IP address, i need to create an EDL to block all the IP's?
Thank you in advance.
07-15-2020 08:14 AM
Hello,
If its a 'White' IOC notice, I wouldnt worry about it but I guess a EDL or a special policy with a block for those IP's would do.
Regards,
07-15-2020 10:31 AM
Thanks. i have found the pattern of the signature.
Click Accept as Solution to acknowledge that the answer to your question has been provided.
The button appears next to the replies on topics you’ve started. The member who gave the solution and all future visitors to this topic will appreciate it!
These simple actions take just seconds of your time, but go a long way in showing appreciation for community members and the LIVEcommunity as a whole!
The LIVEcommunity thanks you for your participation!