Detection

0.0(0)
Studied by 0 people
call kaiCall Kai
learnLearn
examPractice Test
spaced repetitionSpaced Repetition
heart puzzleMatch
flashcardsFlashcards
GameKnowt Play
Card Sorting

1/48

encourage image

There's no tags or description

Looks like no tags are added yet.

49 Terms

1
New cards

Gaurdudty

detects malicoius activity in AWS acounts, comropmised accounts, data exfiltration, crpto minig

30 days free trail, instant install

analyze cloudtrail management events, VPC flow logs, route 53 dns query logs

extended threat protection - detect multi stage detects (auto enabled)

compromised instance anomlaous traffic, aws account resources IAM roles/API sus calls

2
New cards

Gaurduty protection plans

extended capabilits

EC2 - scan EBS volumes

EKS - potnetila bad activies

runtime monitory - OS level events runtime threats

lambda - lamda logs

S3 protection - risks in S3 bucket

malware protection S3/backup - scan newly uploaded things

TD/Uaroro - potential access threats

3
New cards

automated response gaurd duty

all gothrough event bridge and then into SQS/SNS or lambda

create rule in eventbridge

4
New cards

Gaurd Duty Trusted and Threat IP Lists

can give CIDR you trust or ones you do not

5
New cards

Suprrsed findings

are not sent to security hub s3 dtecvi or eventbridge

but can be viewed in the archive

6
New cards

Troubleshoot gaurd duty no DNS findings

MUST USE DEFAULT DNS RESOLVE - otherwise no DNS based findings

7
New cards

AWS security hubs

across several accounts and aggregate evetythiings

gaurdudty inspector macie, IAM analyser, systems manger, firewall manager, helath, parntner network osolution

30 day free trail charges per ingetsion

8
New cards

security hub cross region and organiation integration

MUST ENABLE AWS CONFIG TO WORK NO MATTER WHAT ENABLE ON ALL ACCOUNTS

aggregate findings all to one region

manage all accounts in organoziaotn, automatically detect new account

by default theo rg manatent is the security hub adminsterator, but you can delegate a new one

9
New cards

Security hub Standards

continous checks against standard rules, PCI, best practices, etc etc

10
New cards

securtiy hub integration with gaurd duty

findings are sent in AWS security finding format (ASFF)

sent within 5 minutes

archiving in garud duty will not arhcive in security tower

11
New cards

security hub services integration

to deal with those findings you can use audit manager, aws chat bot, amazon detectvie, dtrusted advisor, ssm explorer,ops center

12
New cards

security hub 3rd part integariotn

must accept finding from other aws marketplace

you can send findings and both recieve findings

13
New cards

security hub findings

security hub will auotmatically update and delete fidings

example, IAM users key not rotated, password not strong configuration, etc etc

findings past 90 days are deleted

14
New cards

Security Hub insights

identify what requires intervtion/attention

EC2 instances have lots of poor security

Group by filter and optoinal filter

both built in managed insights, and you can also create your own insights

15
New cards

Security Hub - custom actions

automate security hub with event bridge

create action for response and then send to event bridge as a custom action

security hub detects in member account which elevates to security acount and then security accont will intervene and sotp

16
New cards

Amazon detective

investigate the root cause of security findings, machine leanring, graphs thery, statisical analysis

VPC flow logs, EKS audi tlogs, secuity hub etc etc

1 year analysis,

who did it what ddid they do etc etc

give you a complete image and graph

17
New cards

Amazon Inpsector

automated security assessments on EC2 instance leveraging the SSM agent, for container images on ECR, lmabda functions,
will then report in aws security hub and can send into event bridge

ONLY EC2 CONTAINER IAMGES, AND LAMDBA FUNCTIONS

18
New cards

Logging compliance to secure logs

can put all in S3 and then encrypt, control with IAM and bucket polices and then also MFA

Glacier cost savings

19
New cards

Unified Cloudwatch agent

ollect very speciifc data like RAM, used disk space, process etc etc

congiure in the SSM paratmer store

collect logs to sent to cloudwatch

namespace for metris is CWagent

ensure your IAM perma re right

20
New cards

procstat plugin on cloudwatch agent

procstat gets the system utilization of indivudal processes for both linxu and window, exact amount of CPU memory and etc,

all procstat prefix

iniviidual processes

21
New cards

Troubleshoot issues with the cloudwatch agent

Fail to start - problem with configuraiton file /opt/agent/ogs/configuration-validation.log

cant find metrix - check you use right nameapce and check amazon-cloudwatch-agent.json poliy

not puhsing log events - update to latest version, test connectiving to cloudwatch logs endpint, review account and log group configuration check IAm permissions

22
New cards

CloudWatch Logs

best place to store aplication and log stream logs. within applications ocntainer

ecnrypted by default can send logs ot anything


23
New cards

cloudwatch logs S3 export

exported one time, NOT REAL TIME, batch export take up to 12 hours CreateExport Tascl

24
New cards

cloudwatch Logs Subsecpriotns

real-time stream of log events,s ent to lambda, kinesises

subscpriotn filter- filter which logs are devilerd to your destinaiton

aggregate across all accounts using knesis data stream , use a cross accounts ubstripction

attach deisntaion policy and IAM role cross account

25
New cards

Cloudwatch alarms

OK INSUFFICIENT DATA ALARM

high reolsution and cna set a time range

26
New cards

CloudWatch alarm targest

stop terminate or recover EC2 instance, scale in or scale out, send notification toa SNS service

27
New cards

Cloudwatch alarms want multiple metrics

use composite alarm by monitoring state of other alarms (Combining alarms)

28
New cards

cloudwatch alarmt instance recovery

check the EC2 VM, chcek te hardware, check the EBS volume, and then go recover

recovery si same private public elastic metadat and palacment group ALL THE SAME

29
New cards

Cloudwatch alarm good to know

put on top of logs metrics filter

test by doing aws cloudwatch set-alarm-state (CLI)

30
New cards

Cloudwatch conirbutor insights

find the bad hosts or what is making all of theh noise

31
New cards

Amazon eventbridge (formerly cloudwatch events)

schdule cron jobs or react to a ne vent pattern

intercepts any API call from other services

filter events and then send destioation and do actions etc

32
New cards

Amazon event brdige defaul event bus vs partner event bus

default event bus - services from AWS that sends events into default event bus

partner event bus - zendesk/datadog

custom event bus - custom apps

you can arhvie events or indentlfy, can also replay the archived events so you can retest your uatomations

33
New cards

EventBridge schema registry

analyze evnets and infer the schema, lets you register an application and know how the event data wil be strucutred

34
New cards

Athena

SERVERLESS - 5$ per TB

search S3 bucket

35
New cards

athena performance improvemtn

Columnar data - less scan (Apache Parquet or ORC format) - must use service like Glue to convert your data (ETL)

compress data for smaller retrievels

partition datasets into S3 for easier querying

36
New cards

cloud trail what events

holds both mangemnet events

DOES NOT LOG DATA EVENTS (TO HIGH VOLUME)

37
New cards

CloudTrail Insights

detect unusualy activity, consioutly analyzes write events to detect unusual patterns

38
New cards

cloudtrail default retntion

default is 90 days

store past them you need to use S3 and Athena

39
New cards

Cloud trail Lake

centralize all data store and use SQL

immutable storge for 10 years

query results validation that results have not been validated

can make dashboards and have AWS Curated dashboards

40
New cards

Cloud trail log file integrity validation

use SHA-256 and RSA, refence log files for last hour and contains a hash

41
New cards

is cloud trail real time?

NO takes 15 minutes

42
New cards

How to monitor accoutn activity

AWS Config, cloud trail event history, cloudwatch log insihgts and athena quries

43
New cards

Macie data Identifiers

Managed data identifier - pre built in SSN/ credit card

custom data identifier - your own custom sesntive data (employee IDs)

44
New cards

Macie fidnings

sesntive data discovery - log results

suppression rules - attribute base dfilter to arhcive finidngs auotmatically

45
New cards

AWS macie multi-account strategy

associate member account with admin account, administrator can access to all data and add/remove

46
New cards

VPC flow logs

subnet flow logs ENI logs, go into S3, cloudwatch logs,
ELB RDS< leasticache, redshift, NATGW etc

47
New cards

vpc flow logs syntax

version - account id - interace id - src addr - dest addr- src port - dst port - packets -start -action - log status

48
New cards

DNS resolution logs

Cloudwatch logs only

only for public hosted zones

49
New cards