Friday, September 2, 2016

CYBER RISK SELF-ASSESSMENT CHECKLIST

You don’t prepare for a hurricane after it hits, right? You shouldn’t think about Cyber-Security threats after you’ve been hacked. While there is no way to completely eliminate cyber risk, there are steps every business – from the smallest Main Street shops to the international joint ventures – can take to drastically reduce not only the likelihood of a breach, but also the overall impact should one occur. Consider using this Check-list to help establish a basic understanding of the current level of cyber risk your organization is facing. It will also identify specific areas where improvements can be made, thus reducing risk.
SECURITY POLICIES  -Does your organization maintain information security policies? 
  • -Is there a mechanism for information security policy enforcement?
  • -Does your organization maintain configuration management policies and tracking of all software and hardware?
  • -Is sensitive data (HR, financial, intellectual capital, etc.) labeled as such?
  • -Is access to sensitive data controlled and logged?

INCIDENT RESPONSE   -Do you have an incident response plan?
  • -Has your incident response plan been tested?
  • -Do you have an incident response team/Cyber-Security firm/general counsel/crisis communication firm identified?
  • CONTINUITY OF OPERATIONS     -Have you systematically evaluated all of the potential sources of disruption to your business?
  • -Do you have an active program to reduce the likelihood of a disruption?
  • -If you could not re-enter the workplace because of an emergency, do you have a pre-determined location to meet?
  • -Do you maintain a list of employees, customers and suppliers at an off-site location?
  • -If you lost a critical system, do you have a pre-determined plan to restore the system?
  • -Is your business resumption plan securely stored in a remote location?
  • -Do you periodically test your business resumption plan along with your site emergency response plan?

BUSINESS PROCESSES
  • -Do you have proven anti-virus software loaded and active on your computer?
  • -Do you delete, without opening, emails from unknown sources?
  • -Do you back up data on a regular basis?
  • -Do you utilize strong, difficult to guess passwords?
  • -Do you use security hardware and software such as firewalls and intrusion detection/prevention systems?
  • -Are you maintaining configuration management through security policy implementation and systems hardening?
  • -Are you maintaining software patch management on all systems by following a regular schedule for updates?
  • -Do you subscribe to security mailing lists?
  • -Are you performing security testing through security audits and penetration scanning?
  • -Are you ensuring physical security of systems and facilities?
  • -Do you ensure users have anti-virus software loaded and active on their systems?
  • -Are you maintaining operational management through the review of all log files, ensuring systems backups with periodic data restores and reporting any known issues or risks?


Thursday, July 14, 2016

HPE ArcSight vs IBM Security QRadar SIEM

 Post from http://infosecnirvana.com/clash-titans-arcsight-vs-qradar/

ArcSight vs QRadar
SubjectArcSightQRadar
Product BirthYear 2000, ArcSight SIEM came into the market and incidentally this was the only product they have worked on. In 2011 HP bought themYear 2004-2005, Q1 Labs entered into the SIEM market modifying their NBAD platform (QFLOW) and in 2012, IBM bought them.
Logging FormatCEF – Common Event FormatLEEF – Log Event Extended Format
Underlying DBOracle till 2012, then combination of MySQL, PSQL etc.Proprietary based on Ariel Data store and probably Ariel Query Language (AQL)
Vendor SupportArcSight supports more than 400 vendors with their CEF certification programQRadar supports more than 250 vendors with their LEEF certification program
PortfolioLog Correlation – HP ArcSight ESM
Log Management – HP ArcSight Logger
Identity Correlation – HP Identity View
Intelligence Feeds – HPRepSM
Threat Detection – HP ArcSight Threat Detector
Response and Action – HP ArcSight TRM
Log Correlation – IBM QRadar Console
Log Management – IBM QRadar Log Manager
Network Forensics – IBM QRadar NBAD (using QFlow)
Intelligence Feeds – IBM X-Force
Vulnerability Management– IBM QRadar VM (with dedicated Scanner)
Response and Action –  IBM QRadar Incident Forensics for Response only
Identity monitoringArcSight has a separate feature calledIdentityView (separate license) to provide the identity perspective of events occurring in ArcSight. It integrates with Identity solutions (AD, Oracle) to keep track of user activity regardless of the account being used. It assigns risk scores to users based on their activity, and can graphically represent this activity and compare it to others with similar roles.QRadar does not have the capability similar to Identity View, however, it does integrate with Identity solution to provide user information in the offenses created.
Network Behavioral AnalysisArcSight does not natively collect flow data however, it can obtain Netflow data from other devices such as routers, etc. The Netflow data provides visibility only up to layer 4 (no application visibility)QRadar due to its origin as a NBAD product has powerful Network Behavioral Analysis (NBAD) capability through its QFlow appliance (Network Flows data including Layer 7 flows, Jflow, Netflow, IPFIX, SFlow, and Packeteer’s Flow Data Records can be collected and processed). This would allow us to review application and network flows and assess it for anomalous traffic, persistent threats etc.
Vulnerability ManagementArcSight can integrate with Vulnerability scanners and gather Scan reports for correlating vulnerability information with the security events collected.  However, it is more of a data aggregator in the case of VM tools.QRadar has a Vulnerability Management product (QVM). This has all the features comparable to ArcSight, however, IBM has upped the ante in this space by including a Scanner in the product that can actively scan hosts if enabled with QVM license. This provides security analysts to gather real time information if they choose to from the same SIEM console.
Dynamic Risk ManagementArcSight does not have any risk management capabilities. However, it can integrate with commercial risk management products to provide basic correlationQRadar has a Risk Manager (QRM) product that collects Network configuration information and provides a risk modeling capability to assist in understanding the extent of impact of a configuration change in the network. This is akin toSkybox, Algosec or RedSealand perform in similar capacity
Log CollectionAgent Less – Using Connector Appliance. Logger Appliance can also serve as Log receiversAgent Based – Software Install on Servers for all types of log collectionAgent Less – Any QRadar Appliance, Console, All-in-One Combo boxes, Event Collector etc. can collect Logs remotelyAgent Based– Connector software available for Windows. For others, Agentless is the only option.Flow Collection – By default any appliance can collect flow data, however, dedicated Flow Collectors are an option in QRadar.
Log ManagementSeparate Log Management Software, Appliance which is different from the ESM appliance. They have a Express version which combines both but in general HP Logger fills the space of a dedicated Log Management applianceSame software, same appliance can behave as all in one SIEM + Log Manager or dedicated Log Manager or SIEM depending on License added. There is no distinct product differentiation as in ArcSight family.
Event TransmissionEvents from the source are sent in clear text to the SmartConnectors, however, all further upstream communication happens encrypted. Compression and Aggregation can also be employed in the ArcSight ecosystem from the connectors onwards.Events from the source are sent in clear text, however, communication between QRadar Appliances happen using encrypted SSH tunnels. However, compression happens on Appliance at event storage level and does not happen in event transit.
Handling EPS burstsArcSight uses large buffers to cache events in case of an EPS burst. Once the buffer is filled, the Queue starts to fill. Once the queue overflows, events get dropped. But the burst EPS can be sustained for longer periods of time compared to QRadar.In QRadar, Each event type has a memory buffer, once the EPS exceed the licensed level and the buffer is filled, all new events are queued and processed on a best effort basis. However, this burst EPS is not sustainable for longer periods of time as with ArcSight. So even though it can take burst EPS during times of attack, it is not sustainable.
FilteringArcSight provides the ability to filter or modify events at the collection and logging level to eliminate the events that are not of security value. This can be as close to event source as possible using SmartConnectorsQRadar provides capability to filter using Routing rules. However, for field based filtering (where only one field from the log needs to be omitted during parsing) can’t be done in QRadar.
AggregationLog Aggregation can be done based on any field combination. This is really useful when it comes to toning down on the high volume logs of network firewalls and proxies etc.Log Aggregation or Coalescing in QRadar terminology happens at the event collection layer based on the source IP and user only and not on customizable field combinations
Data obfuscationArcSight allows for obfuscating any field at the log collection level using SmartConnectors. This is very powerful when monitoring confidential data in logs.QRadar does provide Obfuscation abilities using a custom Regex Based, Key Based Obfuscation config. This will allow for encrypting a field, based on the Regex Match when event is processed.
Custom Log CollectionRequire development of customized configuration files. However, ArcSight Flex Connector SDK is  a very powerful tool to build custom connectors and parsers. Also, the ArcSight community shares knowledge about custom connectors and hence more help available in case you want to develop on your own.QRadar has two parts of custom log collection capability. For supported logs or generic logs, it can update/develop parsers using the “Extract Custom Property” feature. However, if a new log source is to be integrated, then it is through customized configuration files which is much harder to create, test and maintain. Also, help to develop on your own is scarce so Professional services is mandatory.
ScalabilityArcSight is really scalable such that it can support multi-tier Correlation Engines, multi-tier Loggers, Connectors etc. and also have effective peering.QRadar scales very well horizontally at the Log Collection layer, however at the Correlation layer it does not scale as well as ArcSight. This is a challenge in large and distributed environments.
High AvailabilityOne of the long standing issues of ArcSight is HA. It does not have a true HA capability. It supports failover routing at the Collection layer but does not have any thing at the correlation layer.QRadar has the most simple to setup HA configuration ever. This allows sync of two Appliances in true HA style.
Multi-TenancyArcSight has always been the SIEM product of choice for MSSP vendors. The main reason being the ability of the product to delineate events based on customers so that monitoring can be efficiently  performed in a MSSP environment. It maps IP addresses to customer names and network zones to avoid overlap.QRadar did not have the feature until recently (I think v7.2 and above) and was one of the reasons it had very poor Multi-Tenancy support. However, the new feature with “Domain” based categorization provides ability to support MSSP environments. Maturity is yet to be achieved but it’s a step in the right direction.
Out-of-the-box use casesArcSight’s out-of-the-box use cases are very light compared to and only include limited Multi-Device/Event correlation use cases.QRadar comes with a comprehensive set of basic out-of-the-box use cases for various threat types  such as malware, recon, dos, authentication and access control, etc. Also, several of these use cases are Multi-Device/Event types.
Customizable dashboards and reportsArcSight reporting system includes over 350 standard report templates that address common compliance and risk requirements. The report design system is similar to what you would find in a BI solution, though not as complex. Support for charts and graphs is available, and templates can be customized through Velocity. Reports can be scheduled and distributed automatically by e-mail.QRadar provides over 2000 report templates relevant to specific roles, devices, compliance regulations and vertical industries. Only basic report customization is available. However, if advanced report customization is required, QRadar reporting seems limited. However, majority of the customers using QRadar are happy with the out-of-the box reports.
Case managementArcSight has a built-in case management system that allows the association of events to cases, limited workflow, and the ability to launch investigation tools (anything that can run from a command-line) directly from the console. Cases can contain analyst notes and customizable fields.QRadar  provides a rudimentary case management capability through its Offense Management. Offense Management provides basic features such as open, close, assign, and add notes. Additional events cannot be added to Offenses. This is in stark contrast to ArcSight which has full blown case management system built in.
User portalArcSight requires a java client to provide most of its functionality, but also provides a web interface primarily for business users.Provides all functionalities for security event monitoring and threat content development through web based GUI
User licensesIndividual console licenses should be purchased for each user to perform investigation/monitoringAdditional user licenses are not required to be purchased
PricingPricing is based on number of log sources and total log size per dayPricing is based on EPS. Linear incremental cost for scaling the solution is based on tier based EPS licensing.
Pattern Discovery
ArcSight has something called a Threat Detector tool. It basically runs a set of search queries on real time data and provides patterns detected. If interesting monitoring patterns are detected, they can quickly be converted to Use Cases. This is basically useful if you want to create new use cases and you don’t know where to start
QRadar does not have anything similar to Pattern discovery.
Compliance
ArcSight has compliance packages that can be purchased to aid in providing compliance specific alerting, reporting etc. However, these are priced separately.
QRadar has more than 2000 reports grouped based on Compliance requirement which should mostly satisfy compliance needs

LOCKY WITH A NEW ANTI-VM TRICK

Locky developers have used the break in activity to develop some new features for their ransomware. Locky e-mails came back in full force on 21 June, 2016 and now contain virtual machine (VM) and analysis tool countermeasures.
One of the new tricks involves new encryption of the payload that is downloaded by their Javascript downloaders. This prevents analysis tools from analysing the executable from the network traffic. Once decrypted, Locky now also requires a command line parameter in order to run correctly. This second technique prevents sandbox environments from knowing how to run the executable.
But one of the more interesting techniques exploits a tiny discrepancy between a VM and a real machine.

DETECTION OF VIRTUALISATION


When Locky returned on June 21, we saw that it is now using a new mechanism to detect the presence of a VM. We have not quite seen this specific method previously, although the conceptual basis is not a new one.The malware will calculate how long it takes to perform two Windows API calls, GetProcessHeap() and CloseHandle(). It will then compare the ratio of how long it took to execute the first API versus the second API. This is then compared to a known ratio of at least 1:10 that is more likely to indicate a real machine rather than a VM. On a real system, CloseHandle() should be at least 10 times quicker on average to execute when compared with GetProcessHeap(). However, due to how VM products may virtualise the Thread Environment Block (if they are not using hardware acceleration features) GetProcessHeap() may take a lot longer to execute as compared to a real machine.The APIs have been carefully chosen by the developer of the code, who clearly has a very good understanding of fundamental VM behaviour. The mechanism is not perfect however, and may both fail to detect a VM and also result in some false positives on real machines. This is somewhat mitigated by making 10 attempts to pass the ratio threshold. The Locky developers may be aware of this and willing to lose a certain percentage of real victims in order to extend their possible window in which their malware will remain undetected.

Tuesday, July 26, 2011

The differences between ASA/PIX OS & Router IOS

The differences between ASA/PIX OS & Router IOS


Just to name a few major differences between Cisco Router and Firewall:

1. Everything is allowed in router unless you filter, but in Firewall, nothing is allowed unless you permit,

e.g. Outside interface in PIX/ASA doesn’t allow any inbound traffic if it’s not requested by an inside host.

2. PIX/ASA partitions network interfaces to different security levels, while in router interfaces have no difference.

3. You can not Trace-route or Telnet from a PIX/ASA.

4. Access-lists in Router are in wild-card format, while PIX/ASA uses subnet-mask instead of wild-card mask.

5. In PIX/ASA you are able to enter EXEC commands while you’re in config mode, but you need to add “DO” prefix in router for achieving the same result.

6. For PIX/ASA We don’t use “IP” keyword as much as we use in Router, cause its designed for securing IP traffic,

e.g. “show ip route” is “show route”


7. In IOS Router for dot1q tagged traffic we use “encapsulation” command (in interface mode) while in PIX/ASA we use “VLAN vlan-number”

8. Most of configuration of a Firewall is in global configuration, cause of its Policy framework, while in Router you are configuring Interfaces much more…

9.CDP is not allowed /running in ASA/PIX.

Thursday, May 5, 2011

BGP attributes

BGP attributes is a metric used to describe the
characteristics of a BGP paths. Attributes are
conatained in update messages passed between BGP
peers for advertise routers.
 
BGP attributes are broadly divided into two types 
a) Well Known          
b) Optional.
 
Well Known attributes are divided into two types 
a) Mandatory            
b) Descretionary 
 
** Mandatory attributes are divided into three types 
a) AS Path      
b) Next Hop       
c) Origin
 
** Origin attributes divided into three types 
a) Internal(i)     
b) External(e)   
c) Incomplete(?)
 
** Descretionary attributes are divided into two types 
a) Local Preference         
b) Atomic Aggregate
 
Optional attributes are divided into two types 
a) Transitive                
b) Non Transitive
 
** Transitive attributes are divided into two types 
a) Aggregator                
b) Community
 
** Community attributes are divided into for types 
a) No-export
b) No advertise
c) Internet
d) Local AS.
 
&& Non transitive attributes are divided into three types
a) MED (Multi Exit Discriminator).
b) Originator
d) Cluster ID.

e: What is BGP attribute & How many types of attributes are used by BGP???
Lets start from first... I m gonna explain each attributes
one by one  
 
Well Known: 
           Well known attributes are must be recognized by
each compliant of BGP implementations. Well known attributes
are propagated to other neighbors also.
 
Optional:
         Optional attributes are recognized by some
implementation of BGP & expected that not recognized by
everyone. Optional attributes are propagated to their
neighbors based on the meanings.
 
Mandatory:
          Mandatory is BGP well known attributes. Mandatory
attributes are must be present in all update message passed
between BGP peers. It is present in route description.
 
Discretionary:
              Discretionary is BGP well known attributes.
Discretionary attributes are may be present on update message.
 
AS Path: 
        AS path is BGP well known mandatory attributes. AS
path defines the list of Autonomous System that a route has
passed through. AS path attributes are used in path
selection process & lowest path attributes will be preferred
over highest one.
 
Next-Hop:
         Next hop is BGP well known mandatory attributes. In
BGP, next hop is the IP address which is used to reach the
advertising BGP router. 
 
For EBGP, next hop is the ip address of the connection
between the peers. 
 
For IBGP, EBGP next hop address is carried into local
autonomous system.
 
Origin:
       Origin is BGP well known mandatory attributes.
Origion attributes define how BGP router learned about the
particular route. Origin attribute have three possible
values i.e. internal (i), External (e) & Incomplete (?).
 
Internal(i):
            BGP learned about the route from Interior
routing protocol.
 
External(e):
             BGP learned about the router from External BGP.
 
Incomplete(?):
            The origin of the route is unknown or learned by
some other way. The origin of incomplete occurs when routes
are redistributed into BGP.
 
 
 

Thursday, April 21, 2011

BGP is path vector protocol

  Path vector Algorithm

BGP assigns the first valid path as the current best path. BGP then compares the best path with the next path in the list, until BGP reaches the end of the list of valid paths. This list provides the rules that are used to determine the best path:
  1. Prefer the path with the highest WEIGHT.
    Note:  WEIGHT is a Cisco-specific parameter. It is local to the router on which it is configured.
  2. Prefer the path with the highest LOCAL_PREF.
    Note: A path without LOCAL_PREF is considered to have had the value set with the bgp default local-preference command, or to have a value of 100 by default.
  3. Prefer the path that was locally originated via a network or aggregate BGP subcommand or through redistribution from an IGP.
    Local paths that are sourced by the network or redistribute commands are preferred over local aggregates that are sourced by the aggregate-address command.
  4. Prefer the path with the shortest AS_PATH.
    Note: Be aware of these items:
    • This step is skipped if you have configured the bgp bestpath as-path ignore command.
    • An AS_SET counts as 1, no matter how many ASs are in the set.
    • The AS_CONFED_SEQUENCE and AS_CONFED_SET are not included in the AS_PATH length.
  5. Prefer the path with the lowest origin type.
    Note: IGP is lower than Exterior Gateway Protocol (EGP), and EGP is lower than INCOMPLETE.
  6. Prefer the path with the lowest multi-exit discriminator (MED).
    Note: Be aware of these items:
    • This comparison only occurs if the first (the neighboring) AS is the same in the two paths. Any confederation sub-ASs are ignored.
      In other words, MEDs are compared only if the first AS in the AS_SEQUENCE is the same for multiple paths. Any preceding AS_CONFED_SEQUENCE is ignored.
    • If bgp always-compare-med is enabled, MEDs are compared for all paths.
      You must disable this option over the entire AS. Otherwise, routing loops can occur.
    • If bgp bestpath med-confed is enabled, MEDs are compared for all paths that consist only of AS_CONFED_SEQUENCE.
      These paths originated within the local confederation.
    • THE MED of paths that are received from a neighbor with a MED of 4,294,967,295 is changed before insertion into the BGP table. The MED changes to to 4,294,967,294.
    • Paths received with no MED are assigned a MED of 0, unless you have enabled bgp bestpath med missing-as-worst .
      If you have enabled bgp bestpath med missing-as-worst, the paths are assigned a MED of 4,294,967,294.
    • The bgp deterministic med command can also influence this step.
      Refer to How BGP Routers Use the Multi-Exit Discriminator for Best Path Selection for a demonstration.
  7. Prefer eBGP over iBGP paths.
    If bestpath is selected, go to Step 9 (multipath).
    Note: Paths that contain AS_CONFED_SEQUENCE and AS_CONFED_SET are local to the confederation. Therefore, these paths are treated as internal paths. There is no distinction between Confederation External and Confederation Internal.
  8. Prefer the path with the lowest IGP metric to the BGP next hop.
    Continue, even if bestpath is already selected.
  9. Determine if multiple paths require installation in the routing table for BGP Multipath.
    Continue, if bestpath is not yet selected.
  10. When both paths are external, prefer the path that was received first (the oldest one).
    This step minimizes route-flap because a newer path does not displace an older one, even if the newer path would be the preferred route based on the next decision criteria (Steps 11, 12, and 13).
    Skip this step if any of these items is true:
    • You have enabled the bgp best path compare-routerid command.
      Note: Cisco IOS Software Releases 12.0.11S, 12.0.11SC, 12.0.11S3, 12.1.3, 12.1.3AA, 12.1.3.T, and 12.1.3.E introduced this command.
    • The router ID is the same for multiple paths because the routes were received from the same router.
    • There is no current best path.
      The current best path can be lost when, for example, the neighbor that offers the path goes down.
  11. Prefer the route that comes from the BGP router with the lowest router ID.
    The router ID is the highest IP address on the router, with preference given to loopback addresses. Also, you can use the bgp router-id command to manually set the router ID.
    Note: If a path contains route reflector (RR) attributes, the originator ID is substituted for the router ID in the path selection process.
  12. If the originator or router ID is the same for multiple paths, prefer the path with the minimum cluster list length.
    This is only present in BGP RR environments. It allows clients to peer with RRs or clients in other clusters. In this scenario, the client must be aware of the RR-specific BGP attribute.
  13. Prefer the path that comes from the lowest neighbor address.
    This address is the IP address that is used in the BGP neighbor configuration. The address corresponds to the remote peer that is used in the TCP connection with the local router.

Sunday, February 1, 2009

Parvesh Katoch

Me
Parvesh katoch