forked from quadrantsec/sagan-rules
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathaws-detective.rules
54 lines (52 loc) · 9.7 KB
/
aws-detective.rules
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
# Sagan aws-detective.rules
# Copyright (c) 2009-2023. Quadrant Information Security <www.quadrantsec.com>
# All rights reserved.
#
# Please submit any custom rules or ideas to sagan-submit@quadrantsec.com or the sagan-sigs mailing list
#
#*************************************************************
# Redistribution and use in source and binary forms, with or without modification, are permitted provided that the
# following conditions are met:
#
# * Redistributions of source code must retain the above copyright notice, this list of conditions and the following
# disclaimer.
# * Redistributions in binary form must reproduce the above copyright notice, this list of conditions and the
# following disclaimer in the documentation and/or other materials provided with the distribution.
# * Neither the name of the nor the names of its contributors may be used to endorse or promote products derived
# from this software without specific prior written permission.
#
# THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS AS IS AND ANY EXPRESS OR IMPLIED WARRANTIES,
# INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
# DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
# SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR
# SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY,
# WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE
# USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
#
#*************************************************************
# rules by "Bryant Smith" <bsmith@quadrantsec.com>
# 04/26/2023
#alert any $HOME_NET any -> $HOME_NET any (msg:"[AWS-DETECTIVE] AWS Detective event detected (AcceptInvitation) "; program:detective.amazonaws.com; content:"eventName|22 3a 20 22|AcceptInvitation"; classtype:system-event; reference:url,docs.aws.amazon.com/detective/latest/APIReference/API_Operations.html; sid:5011941; rev:1;)
#alert any $HOME_NET any -> $HOME_NET any (msg:"[AWS-DETECTIVE] AWS Detective event detected (BatchGetGraphMemberDatasources) "; program:detective.amazonaws.com; content:"eventName|22 3a 20 22|BatchGetGraphMemberDatasources"; classtype:system-event; reference:url,docs.aws.amazon.com/detective/latest/APIReference/API_Operations.html; sid:5011942; rev:1;)
#alert any $HOME_NET any -> $HOME_NET any (msg:"[AWS-DETECTIVE] AWS Detective event detected (BatchGetMembershipDatasources) "; program:detective.amazonaws.com; content:"eventName|22 3a 20 22|BatchGetMembershipDatasources"; classtype:system-event; reference:url,docs.aws.amazon.com/detective/latest/APIReference/API_Operations.html; sid:5011943; rev:1;)
#alert any $HOME_NET any -> $HOME_NET any (msg:"[AWS-DETECTIVE] AWS Detective event detected (CreateGraph) "; program:detective.amazonaws.com; content:"eventName|22 3a 20 22|CreateGraph"; classtype:system-event; reference:url,docs.aws.amazon.com/detective/latest/APIReference/API_Operations.html; sid:5011944; rev:1;)
#alert any $HOME_NET any -> $HOME_NET any (msg:"[AWS-DETECTIVE] AWS Detective event detected (CreateMembers) "; program:detective.amazonaws.com; content:"eventName|22 3a 20 22|CreateMembers"; classtype:system-event; reference:url,docs.aws.amazon.com/detective/latest/APIReference/API_Operations.html; sid:5011945; rev:1;)
#alert any $HOME_NET any -> $HOME_NET any (msg:"[AWS-DETECTIVE] AWS Detective event detected (DeleteGraph) "; program:detective.amazonaws.com; content:"eventName|22 3a 20 22|DeleteGraph"; classtype:system-event; reference:url,docs.aws.amazon.com/detective/latest/APIReference/API_Operations.html; sid:5011946; rev:1;)
#alert any $HOME_NET any -> $HOME_NET any (msg:"[AWS-DETECTIVE] AWS Detective event detected (DeleteMembers) "; program:detective.amazonaws.com; content:"eventName|22 3a 20 22|DeleteMembers"; classtype:system-event; reference:url,docs.aws.amazon.com/detective/latest/APIReference/API_Operations.html; sid:5011947; rev:1;)
#alert any $HOME_NET any -> $HOME_NET any (msg:"[AWS-DETECTIVE] AWS Detective event detected (DescribeOrganizationConfiguration) "; program:detective.amazonaws.com; content:"eventName|22 3a 20 22|DescribeOrganizationConfiguration"; classtype:system-event; reference:url,docs.aws.amazon.com/detective/latest/APIReference/API_Operations.html; sid:5011948; rev:1;)
#alert any $HOME_NET any -> $HOME_NET any (msg:"[AWS-DETECTIVE] AWS Detective event detected (DisableOrganizationAdminAccount) "; program:detective.amazonaws.com; content:"eventName|22 3a 20 22|DisableOrganizationAdminAccount"; classtype:system-event; reference:url,docs.aws.amazon.com/detective/latest/APIReference/API_Operations.html; sid:5011949; rev:1;)
#alert any $HOME_NET any -> $HOME_NET any (msg:"[AWS-DETECTIVE] AWS Detective event detected (DisassociateMembership) "; program:detective.amazonaws.com; content:"eventName|22 3a 20 22|DisassociateMembership"; classtype:system-event; reference:url,docs.aws.amazon.com/detective/latest/APIReference/API_Operations.html; sid:5011950; rev:1;)
#alert any $HOME_NET any -> $HOME_NET any (msg:"[AWS-DETECTIVE] AWS Detective event detected (EnableOrganizationAdminAccount) "; program:detective.amazonaws.com; content:"eventName|22 3a 20 22|EnableOrganizationAdminAccount"; classtype:system-event; reference:url,docs.aws.amazon.com/detective/latest/APIReference/API_Operations.html; sid:5011951; rev:1;)
#alert any $HOME_NET any -> $HOME_NET any (msg:"[AWS-DETECTIVE] AWS Detective event detected (GetMembers) "; program:detective.amazonaws.com; content:"eventName|22 3a 20 22|GetMembers"; classtype:system-event; reference:url,docs.aws.amazon.com/detective/latest/APIReference/API_Operations.html; sid:5011952; rev:1;)
#alert any $HOME_NET any -> $HOME_NET any (msg:"[AWS-DETECTIVE] AWS Detective event detected (ListDatasourcePackages) "; program:detective.amazonaws.com; content:"eventName|22 3a 20 22|ListDatasourcePackages"; classtype:system-event; reference:url,docs.aws.amazon.com/detective/latest/APIReference/API_Operations.html; sid:5011953; rev:1;)
#alert any $HOME_NET any -> $HOME_NET any (msg:"[AWS-DETECTIVE] AWS Detective event detected (ListGraphs) "; program:detective.amazonaws.com; content:"eventName|22 3a 20 22|ListGraphs"; classtype:system-event; reference:url,docs.aws.amazon.com/detective/latest/APIReference/API_Operations.html; sid:5011954; rev:1;)
#alert any $HOME_NET any -> $HOME_NET any (msg:"[AWS-DETECTIVE] AWS Detective event detected (ListInvitations) "; program:detective.amazonaws.com; content:"eventName|22 3a 20 22|ListInvitations"; classtype:system-event; reference:url,docs.aws.amazon.com/detective/latest/APIReference/API_Operations.html; sid:5011955; rev:1;)
#alert any $HOME_NET any -> $HOME_NET any (msg:"[AWS-DETECTIVE] AWS Detective event detected (ListMembers) "; program:detective.amazonaws.com; content:"eventName|22 3a 20 22|ListMembers"; classtype:system-event; reference:url,docs.aws.amazon.com/detective/latest/APIReference/API_Operations.html; sid:5011956; rev:1;)
#alert any $HOME_NET any -> $HOME_NET any (msg:"[AWS-DETECTIVE] AWS Detective event detected (ListOrganizationAdminAccounts) "; program:detective.amazonaws.com; content:"eventName|22 3a 20 22|ListOrganizationAdminAccounts"; classtype:system-event; reference:url,docs.aws.amazon.com/detective/latest/APIReference/API_Operations.html; sid:5011957; rev:1;)
#alert any $HOME_NET any -> $HOME_NET any (msg:"[AWS-DETECTIVE] AWS Detective event detected (ListTagsForResource) "; program:detective.amazonaws.com; content:"eventName|22 3a 20 22|ListTagsForResource"; classtype:system-event; reference:url,docs.aws.amazon.com/detective/latest/APIReference/API_Operations.html; sid:5011958; rev:1;)
#alert any $HOME_NET any -> $HOME_NET any (msg:"[AWS-DETECTIVE] AWS Detective event detected (RejectInvitation) "; program:detective.amazonaws.com; content:"eventName|22 3a 20 22|RejectInvitation"; classtype:system-event; reference:url,docs.aws.amazon.com/detective/latest/APIReference/API_Operations.html; sid:5011959; rev:1;)
#alert any $HOME_NET any -> $HOME_NET any (msg:"[AWS-DETECTIVE] AWS Detective event detected (StartMonitoringMember) "; program:detective.amazonaws.com; content:"eventName|22 3a 20 22|StartMonitoringMember"; classtype:system-event; reference:url,docs.aws.amazon.com/detective/latest/APIReference/API_Operations.html; sid:5011960; rev:1;)
#alert any $HOME_NET any -> $HOME_NET any (msg:"[AWS-DETECTIVE] AWS Detective event detected (TagResource) "; program:detective.amazonaws.com; content:"eventName|22 3a 20 22|TagResource"; classtype:system-event; reference:url,docs.aws.amazon.com/detective/latest/APIReference/API_Operations.html; sid:5011961; rev:1;)
#alert any $HOME_NET any -> $HOME_NET any (msg:"[AWS-DETECTIVE] AWS Detective event detected (UntagResource) "; program:detective.amazonaws.com; content:"eventName|22 3a 20 22|UntagResource"; classtype:system-event; reference:url,docs.aws.amazon.com/detective/latest/APIReference/API_Operations.html; sid:5011962; rev:1;)
#alert any $HOME_NET any -> $HOME_NET any (msg:"[AWS-DETECTIVE] AWS Detective event detected (UpdateDatasourcePackages) "; program:detective.amazonaws.com; content:"eventName|22 3a 20 22|UpdateDatasourcePackages"; classtype:system-event; reference:url,docs.aws.amazon.com/detective/latest/APIReference/API_Operations.html; sid:5011963; rev:1;)
#alert any $HOME_NET any -> $HOME_NET any (msg:"[AWS-DETECTIVE] AWS Detective event detected (UpdateOrganizationConfiguration) "; program:detective.amazonaws.com; content:"eventName|22 3a 20 22|UpdateOrganizationConfiguration"; classtype:system-event; reference:url,docs.aws.amazon.com/detective/latest/APIReference/API_Operations.html; sid:5011964; rev:1;)