This website uses cookies. By clicking Accept, you consent to the use of cookies. Click Here to learn more about how we use cookies.
Accept
Reject

NetWitness Community

  • Home
  • Products
    • NetWitness Platform
      • Advisories
      • Documentation
        • Platform Documentation
        • Known Issues
        • Security Fixes
        • Hardware Documentation
        • Threat Content
        • Unified Data Model
        • Videos
      • Downloads
      • Integrations
      • Knowledge Base
    • NetWitness Cloud SIEM
      • Advisories
      • Documentation
      • Knowledge Base
    • NetWitness Detect AI
      • Advisories
      • Documentation
      • Knowledge Base
    • NetWitness Investigator
    • NetWitness Orchestrator
      • Advisories
      • Documentation
      • Knowledge Base
      • Legacy NetWitness Orchestrator
        • Advisories
        • Documentation
  • Community
    • Blog
    • Discussions
    • Events
    • Idea Exchange
  • Support
    • Case Portal
      • Create New Case
      • View My Cases
      • View My Team's Cases
    • Community Support
      • Getting Started
      • News & Announcements
      • Community Support Forum
      • Community Support Articles
    • Product Life Cycle
    • Support Information
    • General Security Advisories
  • Training
    • Blog
    • Certification Program
    • Course Catalog
    • New Product Readiness
    • On-Demand Subscriptions
    • Student Resources
    • Upcoming Events
  • Technology Partners
  • Trust Center
Sign InRegister Now
cancel
Turn on suggestions
Auto-suggest helps you quickly narrow down your search results by suggesting possible matches as you type.
Showing results for 
Search instead for 
Did you mean: 
NetWitness Discussions
Announcement Banner

Scheduled Maintenance for the Case Portal during May 20-22

View Details
  • NetWitness Community
  • Discussions
  • Correlation rule to detect AV stopped and not restarted - unordered
  • Options
    • Subscribe to RSS Feed
    • Mark Topic as New
    • Mark Topic as Read
    • Float this Topic for Current User
    • Bookmark
    • Subscribe
    • Mute
    • Printer Friendly Page

Correlation rule to detect AV stopped and not restarted - unordered

JohnDoe1
JohnDoe1 Beginner
Beginner
Options
  • Mark as New
  • Bookmark
  • Subscribe
  • Mute
  • Subscribe to RSS Feed
  • Permalink
  • Print
  • Email to a Friend
  • Report Inappropriate Content

‎2016-07-13 09:47 AM


Hi,

 

I have a working rule to detect when an AV is stopped and not started with in the next  60 sec

 

@Name('Antivirus')

@RSAAlert(oneInSeconds=0, identifiers={"host_src"})

 

 

SELECT * FROM pattern

[

    every a = Event(

                medium = 32

            AND

                device_type = 'av'

            AND

                host_src IS NOT NULL

            AND

                event_desc.toLowerCase() = 'av is stopped.'

)  ->  (

        timer:interval(60 sec)

    AND NOT

        Event(

                medium = 32

            AND

                device_type = 'av'

            AND

                host_src = a.host_src

            AND

                event_desc.toLowerCase() = 'av is started or activated.'

            )

    )

];

 

However, sometimes, the log 'av is stopped.' comes before  the log 'av is started or activated.'.

 

How to handle both case?

 

I tried a mix with the following rule (which detects when av is restarted) without success:

 

SELECT * FROM Event(

        medium = 32

    AND

        device_type = 'av'

    AND

        host_src IS NOT NULL

    AND

        event_desc.toLowerCase() = 'av is stopped.'

).std:unique(host_src).win:time(60 sec) AS s0,

 

 

    Event(

        medium = 32

    AND

        device_type = 'av'

    AND

        host_src IS NOT NULL

    AND

        event_desc.toLowerCase() = 'av has been started or activated.'

).std:unique(host_src).win:time(60 sec) AS s1

 

WHERE

    s0.host_src = s1.host_src

  • Community Thread
  • correlation
  • Discussion
  • ESA Rule
  • Esper
  • Forum Thread
  • NetWitness
  • NW
  • NWP
  • RSA NetWitness
  • RSA NetWitness Platform
  • Rule
1 Like
Share
Reply
  • All forum topics
  • Previous Topic
  • Next Topic
1 REPLY 1

XavierFerrier1
XavierFerrier1 Beginner
Beginner
Options
  • Mark as New
  • Bookmark
  • Subscribe
  • Mute
  • Subscribe to RSS Feed
  • Permalink
  • Print
  • Email to a Friend
  • Report Inappropriate Content

‎2016-07-29 08:32 AM

Hello,

 

Good question. I worked on the same case and I didn't found any solution.

 

Since log integration doesn't respect the original order, alerts like this one can't work.

0 Likes
Share
Reply
Powered by Khoros
  • Blog
  • Events
  • Discussions
  • Idea Exchange
  • Knowledge Base
  • Case Portal
  • Community Support
  • Product Life Cycle
  • Support Information
  • About the Community
  • Terms & Conditions
  • Privacy Statement
  • Acceptable Use Policy
  • Employee Login
© 2022 RSA Security LLC or its affiliates. All rights reserved.