<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>BlueGecko Denmark</title>
	<atom:link href="https://bluegecko.dk/tag/se-hor/feed/" rel="self" type="application/rss+xml" />
	<link>https://bluegecko.dk</link>
	<description>Your remote dba</description>
	<lastBuildDate>Mon, 02 Jun 2014 07:04:58 +0000</lastBuildDate>
	<language>en-US</language>
	<sy:updatePeriod>
	hourly	</sy:updatePeriod>
	<sy:updateFrequency>
	1	</sy:updateFrequency>
	<generator>https://wordpress.org/?v=6.5.2</generator>
	<item>
		<title>Oracle Fine Grained Audit &#8211; who have queried confidential data</title>
		<link>https://bluegecko.dk/fga/?utm_source=rss&#038;utm_medium=rss&#038;utm_campaign=fga</link>
					<comments>https://bluegecko.dk/fga/#respond</comments>
		
		<dc:creator><![CDATA[Dimitri van de Ven]]></dc:creator>
		<pubDate>Mon, 02 Jun 2014 07:04:58 +0000</pubDate>
				<category><![CDATA[Oracle Database]]></category>
		<category><![CDATA[DBMS_FGA]]></category>
		<category><![CDATA[dbms_fga.add_policy]]></category>
		<category><![CDATA[FGA]]></category>
		<category><![CDATA[Fine Grained Audit]]></category>
		<category><![CDATA[NETS]]></category>
		<category><![CDATA[Oracle FGA]]></category>
		<category><![CDATA[SE & HØR]]></category>
		<category><![CDATA[Se og Hør]]></category>
		<guid isPermaLink="false">http://www.bluegecko.dk/?p=3749</guid>

					<description><![CDATA[The need for more sophisticated controls on access to sensitive data is becoming increasingly important as organizations address emerging security requirements around data consolidation, privacy and compliance. There are many examples of data breaches which have been perpetrated using stolen credentials, SQL injection or by insiders who are authorized to access the system and its [&#8230;]]]></description>
										<content:encoded><![CDATA[<p>The need for more sophisticated controls on access to sensitive data is becoming increasingly important as organizations address emerging security requirements around data consolidation, privacy and compliance. There are many examples of data breaches which have been perpetrated using stolen credentials, SQL injection or by insiders who are authorized to access the system and its data. Currently, hot topic news in Denmark is, where a popular week-magazine received sensitive information about famous people, from a highly trusted person, working for the Nordic provider of payment card transactions. Unfortunately this incident is not unique and happens far too often. Securing data requires a defense-in-depth approach. Both technical and administrative employees need to be involved to prevent and monitor unauthorized access to sensitive data.</p>
<p>This blog will discuss Oracle database security feature, Fine Grained Audit (FGA), that may help to discover unauthorized access of confidential data with the right setup.</p>
<p>With FGA, it is possible to create audit policies, that records if a user viewed (selected) data from a specific table or table column. Audit records include information about the operation that was audited, the user performing the operation, and the time of the operation. Audit trail records created by FGA can be captured and analyzed in Oracle Audit Vault and Database Firewall, automatically alerting the security team about possible malicious activity.</p>
<p>In next simple example, I will show how FGA can help to monitor unauthorized access of confidential data:</p>
<table style="width: 656px; height: 1700px;" border="1" cellspacing="0" cellpadding="0">
<tbody>
<tr style="background-color: #779293;">
<td valign="top" width="45"></td>
<td valign="top" width="607"><span style="color: #ffffff;"><b>Fine Grained Audit example<br />
</b></span></td>
</tr>
<tr style="background-color: #bbe5e6;">
<td valign="top" width="45"><b>1</b></td>
<td valign="top" width="607"><strong>Create user schema XXBANK:</strong></p>
<p>sqlplus sys/xxx as sysdba<br />
SQL&gt; CREATE USER XXBANK IDENTIFIED BY xxbank;<br />
SQL&gt; GRANT CONNECT TO XXBANK;<br />
SQL&gt; GRANT DBA to XXBANK;<br />
SQL&gt; exit;</td>
</tr>
<tr style="background-color: #def2f3;">
<td valign="top" width="45"><b>2</b></td>
<td valign="top" width="607"><strong>Create table XXBANK.TRANSAKTIONS and insert some rows:</strong></p>
<p>sqlplus sys/xxx as sysdba<br />
SQL&gt; create table XXBANK.TRANSACTIONS<br />
(<br />
TRANSACTION_ID number,<br />
TRANSACTION_TIME timestamp,<br />
TRANSACTION_PLACE varchar2(40),<br />
CREDIT_CARD_NUMBER varchar2(16),<br />
CREDIT_CARD_HOLDER_NAME varchar2(30) not null,<br />
PAYMENT_AMOUNT number,<br />
primary key (TRANSACTION_ID)<br />
);</p>
<p>SQL&gt; insert into XXBANK.TRANSACTIONS values (1,to_timestamp(&#8217;02-APR-2014 10:45&#8242;,&#8217;DD-MON-YYYY HH24:MI&#8217;), &#8216;MC Donalds, Slagelse, DK&#8217;, &#8216;4599123466991234&#8217;,&#8217;Prins Henrik&#8217;, 55.50);<br />
SQL&gt; insert into XXBANK.TRANSACTIONS values (2,to_timestamp(&#8217;02-APR-2014 15:10&#8242;,&#8217;DD-MON-YYYY HH24:MI&#8217;), &#8216;Seven Eleven, KBH Vesterbro, DK&#8217;, &#8216;4510432145456789&#8217;,&#8217;Henrik Qvortrup&#8217;, 35.00);<br />
SQL&gt; insert into XXBANK.TRANSACTIONS values (3,to_timestamp(&#8217;02-APR-2014 22:30&#8242;,&#8217;DD-MON-YYYY HH24:MI&#8217;), &#8216;Mefisto, Aarhus, DK&#8217;, &#8216;3311345666772468&#8217;,&#8217;Bubber&#8217;, 225.00);<br />
SQL&gt; insert into XXBANK.TRANSACTIONS values (4,to_timestamp(&#8217;03-APR-2014 03:10&#8242;,&#8217;DD-MON-YYYY HH24:MI&#8217;), &#8216;Hanky Panky Bar, KBH Vesterbro, DK&#8217;, &#8216;4510432145456789&#8217;,&#8217;Henrik Qvortrup&#8217;, 1050.00);<br />
SQL&gt; insert into XXBANK.TRANSACTIONS values (5,to_timestamp(&#8217;03-APR-2014 08:30&#8242;,&#8217;DD-MON-YYYY HH24:MI&#8217;), &#8216;Burger King, Strøget KBH, DK&#8217;, &#8216;4599123466991234&#8217;,&#8217;Prins Henrik&#8217;, 70.50);<br />
SQL&gt; insert into XXBANK.TRANSACTIONS values (6,to_timestamp(&#8217;03-APR-2014 12:30&#8242;,&#8217;DD-MON-YYYY HH24:MI&#8217;), &#8216;Psykologcentret, KBH, DK&#8217;, &#8216;3311345666772468&#8217;,&#8217;Bubber&#8217;, 512.75);<br />
SQL&gt; insert into XXBANK.TRANSACTIONS values (7,to_timestamp(&#8217;03-APR-2014 16:39&#8242;,&#8217;DD-MON-YYYY HH24:MI&#8217;), &#8216;Starbucks, Toronto, Canada&#8217;, &#8216;4444362255449385&#8217;,&#8217;Prins Joachim&#8217;, 125.45);<br />
SQL&gt; insert into XXBANK.TRANSACTIONS values (8,to_timestamp(&#8217;04-APR-2014 10:17&#8242;,&#8217;DD-MON-YYYY HH24:MI&#8217;), &#8216;Fona, Valby, DK&#8217;, &#8216;4444123573596612&#8217;,&#8217;Bo Henriksen&#8217;, 10000.00);<br />
SQL&gt; commit;<br />
SQL&gt; exit;</td>
</tr>
<tr style="background-color: #bbe5e6;">
<td valign="top" width="45"><strong>3</strong></td>
<td valign="top" width="607"><strong>Create an FGA policy on table XXBANK.TRANSACTIONS:</strong></p>
<p>sqlplus sys/xxx as sysdba<br />
SQL&gt; begin<br />
dbms_fga.add_policy (<br />
object_schema=&gt;&#8217;XXBANK&#8217;,<br />
object_name=&gt;&#8217;TRANSACTIONS&#8217;,<br />
policy_name=&gt;&#8217;TRANSACTIONS_ACCESS&#8217;<br />
);<br />
end;<br />
/<br />
SQL&gt; exit</td>
</tr>
<tr style="background-color: #def2f3;">
<td valign="top" width="45"><b>4</b></td>
<td valign="top" width="607"><strong>Do some sql-queries on sensitive data:</strong></p>
<p><strong>User APPS is looking at transactions done by members of the royal family:</strong></p>
<p>sqlplus apps/xxx<br />
SQL&gt; select * from XXBANK.TRANSACTIONS where lower(CREDIT_CARD_HOLDER_NAME) like &#8216;%prins%&#8217;;</p>
<p>TRANSACTION_ID TRANSACTION_TIME<br />
&#8212;&#8212;&#8212;&#8212;&#8211; &#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;<br />
TRANSACTION_PLACE CREDIT_CARD_NUMB CREDIT_CARD_HOLDER_NAME PAYMENT_AMOUNT<br />
&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;- &#8212;&#8212;&#8212;&#8212;&#8212;- &#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212; &#8212;&#8212;&#8212;&#8212;&#8211;<br />
1 02-APR-14 10.45.00.000000 AM<br />
MC Donalds, Slagelse, DK 4599123466991234 Prins Henrik 55.55</p>
<p>5 03-APR-14 08.30.00.000000 AM<br />
Burger King, Strøget KBH, DK 4599123466991234 Prins Henrik 70.50</p>
<p>7 03-APR-14 04.39.00.000000 PM<br />
Starbucks, Toronto, Canada 4444362255449385 Prins Joachim 125.45</p>
<p>SQL&gt; exit</p>
<p><strong>User EMPLOYEE_1 is looking at transactions done by Bubber:</strong></p>
<p>sqlplus employee_1/xxx<br />
SQL&gt; select to_char(TRANSACTION_TIME,&#8217;DD-MON-YYYY HH24:MI&#8217;) &#8220;Time&#8221;, TRANSACTION_PLACE from XXBANK.TRANSACTIONS where lower(CREDIT_CARD_HOLDER_NAME) like &#8216;%bubber%&#8217;;</p>
<p>Time TRANSACTION_PLACE<br />
&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8211; &#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;-<br />
02-APR-2014 22:30 Mefisto, Aarhus, DK<br />
03-APR-2014 12:30 Psykologcentret, KBH, DK</p>
<p>SQL&gt; exit</td>
</tr>
<tr style="background-color: #bbe5e6;">
<td valign="top" width="45"><b>5</b></td>
<td valign="top" width="607"><strong>Check who has viewed sensitive information in the TRANSACTIONS table:</strong></p>
<p>sqlplus sys/xxx as sysdba<br />
SQL&gt; set linesize 200<br />
SQL&gt; set pages 200<br />
SQL&gt; column TS format A20<br />
SQL&gt; column db_user format A10<br />
SQL&gt; column os_user format A10<br />
SQL&gt; column object_schema format A8<br />
SQL&gt; column sql_text format A150<br />
SQL&gt; select to_char(timestamp,&#8217;DD-MON-YYYY HH24:MI&#8217;) &#8220;TS&#8221;, db_user, os_user, object_schema, object_name, sql_text from dba_fga_audit_trail;</p>
<p>TS DB_USER OS_USER OBJECT_S<br />
&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8211; &#8212;&#8212;&#8212;- &#8212;&#8212;&#8212;- &#8212;&#8212;&#8211;<br />
OBJECT_NAME<br />
&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;<br />
SQL_TEXT<br />
&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;<br />
01-MAY-2014 07:25 APPS oracle XXBANK<br />
TRANSACTIONS<br />
select * from XXBANK.TRANSACTIONS where lower(CREDIT_CARD_HOLDER_NAME) like &#8216;%prins%&#8217;</p>
<p>01-MAY-2014 08:08 EMPLOYEE_1 oracle XXBANK<br />
TRANSACTIONS<br />
select to_char(TRANSACTION_TIME,&#8217;DD-MON-YYYY HH24:MI&#8217;) &#8220;Time&#8221;, TRANSACTION_PLACE from XXBANK.TRANSACTIONS where lower(CREDIT_CARD_HOLDER_NAME) like &#8216;%bubber%&#8217;</td>
</tr>
</tbody>
</table>
]]></content:encoded>
					
					<wfw:commentRss>https://bluegecko.dk/fga/feed/</wfw:commentRss>
			<slash:comments>0</slash:comments>
		
		
			</item>
		<item>
		<title>How to secure and audit unauthorized data access</title>
		<link>https://bluegecko.dk/how-to-secure-and-audit-unauthorized-data-access/?utm_source=rss&#038;utm_medium=rss&#038;utm_campaign=how-to-secure-and-audit-unauthorized-data-access</link>
					<comments>https://bluegecko.dk/how-to-secure-and-audit-unauthorized-data-access/#respond</comments>
		
		<dc:creator><![CDATA[Dimitri van de Ven]]></dc:creator>
		<pubDate>Mon, 12 May 2014 07:49:51 +0000</pubDate>
				<category><![CDATA[Security]]></category>
		<category><![CDATA[audit]]></category>
		<category><![CDATA[database auditing]]></category>
		<category><![CDATA[Encrypt]]></category>
		<category><![CDATA[Enterprise User Security]]></category>
		<category><![CDATA[FGA]]></category>
		<category><![CDATA[Fine Grained Audit]]></category>
		<category><![CDATA[NETS]]></category>
		<category><![CDATA[Oracle Advanced Security]]></category>
		<category><![CDATA[Oracle Database Vault]]></category>
		<category><![CDATA[Oracle Label Security]]></category>
		<category><![CDATA[Proxy Authentication]]></category>
		<category><![CDATA[Roles]]></category>
		<category><![CDATA[SE & HØR]]></category>
		<category><![CDATA[security]]></category>
		<category><![CDATA[TDE]]></category>
		<category><![CDATA[Transparent Data Encryption]]></category>
		<category><![CDATA[Virtual Private Database]]></category>
		<guid isPermaLink="false">http://www.bluegecko.dk/?p=3743</guid>

					<description><![CDATA[The need for more sophisticated controls on access to sensitive data is becoming increasingly important as organizations address emerging security requirements around data consolidation, privacy and compliance. There are many examples of data breaches which have been perpetrated using stolen credentials, SQL injection or by insiders who are authorized to access the system and its [&#8230;]]]></description>
										<content:encoded><![CDATA[<p>The need for more sophisticated controls on access to sensitive data is becoming increasingly important as organizations address emerging security requirements around data consolidation, privacy and compliance. There are many examples of data breaches which have been perpetrated using stolen credentials, SQL injection or by insiders who are authorized to access the system and its data. Currently, hot topic news in Denmark is, where a popular week-magazine received sensitive information about famous people, from a highly trusted person, working for the Nordic provider of payment card transactions. Unfortunately this incident is not unique and happens far too often. Securing data requires a defense-in-depth approach. Both technical and administrative employees need to be involved to prevent and monitor unauthorized access to sensitive data. Payment Card Industry (PCI), Sarbanes-Oxley (SOX), EU Privacy Directive and the Healthcare Insurance Portability and Accountability Act (HIPAA) all require strong internal controls on access, disclosure or modification of sensitive information that could lead to fraud, identity theft, financial irregularities and financial penalties.</p>
<p>This blog will list various Oracle database security features that may help to prevent or discover unauthorized access of confidential data with the right setup. In addition, we will discuss some of the Oracle Security options that use combinations of these features and make it easier to secure sensitive information from the database.</p>
<p><strong>Database Auditing (DA)</strong><br />
DA is the monitoring and recording of selected user database actions. Security policies can trigger auditing when specified elements in the database are accessed or altered. Audit records include information about the operation that was audited, the user performing the operation, and the time of the operation. Audit records can be stored in the database audit trail or in files on the operating system. Standard auditing includes operations on privileges, schemas, objects, and statements. To enable DA, the initialization parameter, AUDIT_TRAIL, should be set to &#8220;DB&#8221;, &#8220;DB,EXTENDED&#8221;, &#8220;XML&#8221;, &#8220;XML, EXTENDED&#8221; or &#8220;OS&#8221;.</p>
<p><strong>Fine Grained Audit (FGA)</strong><br />
With FGA, it is possible to create audit policies, that records if a user viewed (selected) data from a specific table or table column. Audit records include information about the operation that was audited, the user performing the operation, and the time of the operation. Audit trail records created by FGA can be captured and analyzed in Oracle Audit Vault and Database Firewall, automatically alerting the security team about possible malicious activity.</p>
<p><strong>Transparent Data Encryption (TDE)</strong><br />
The TDE feature allows confidential data to be encrypted within the data files to prevent access to it from the hard drive or backup media. TDE stores sensitive data in encrypted form and when the data is accessed, it automatically decrypt it. Encrypted data is transparently decrypted for a database user or application that has privileges to access the data. TDE helps protect data stored on media in the event that the storage media or data file gets stolen. Oracle requires the Advanced Security Option to be enabled.</p>
<p><strong>Encrypt Database Backups</strong><br />
Encryption is the only defense when it comes to protecting business data when it is transported on tape or disk to offsite storage for safekeeping. Oracle provides two solutions for encrypting database backups.<br />
1) Oracle RMAN can encrypt an entire database backup using one of these three methods: TDE, Passphrase or Hybrid (both Passphrase and TDE).<br />
2) Oracle Secure Backup (OSB), delivers tape data protection for the Oracle database and file systems in distributed UNIX, Linux, Windows and Network Attached Storage (NAS) environments.</p>
<p><strong>Encrypt Database Export files</strong><br />
Oracle Data Pump can encrypt an export file using one of these three methods: TDE, Passphrase or Hybrid (both Passphrase and TDE).</p>
<p><strong>Virtual Private Database (VPD)</strong><br />
A VPD masks data in a larger database so that only a subset of the data appear to exist, without actually segregating data into different tables, schemas, databases. In other words, VPD allows multiple users to access a single schema whilst preventing them from accessing data that is not relevant to them. Oracle VPD enables you to create security policies to control database access at the row and column level. Essentially, VPD adds a dynamic WHERE clause to a SQL statement that is issued against the table, view, or synonym to which an VPD security policy was applied. A simple VPD example might restrict access to data during business hours and a more complex VPD example might read an application context during a login trigger and enforce row level security against a specific table.</p>
<p><strong>Roles</strong><br />
Roles are a powerful method for managing privileges in the Oracle Database. You can add privileges to a role and then grant the role to a user or to another role. Once granted to a user, roles with the associated privileges are active as soon as the user has successfully authenticated to the database.</p>
<p><strong>Proxy Authentication (PA)</strong><br />
PA is supported over thin and thick JDBC connections and on the command line. Users can authenticate to the database using their own username and then proxy to another user in the database. PA is particularly useful when administrators need to connect to the application schema to perform maintenance. When Audit is enabled, audit records generated during the connection include the proxy user name, providing important information on the actual end user who performed the maintenance task.</p>
<p><strong>Enterprise User Security (EUS)</strong><br />
EUS is an Oracle Database Enterprise Edition feature and enables you to centrally manage database users across the enterprise. Enterprise users are created in Oracle Internet Directory, and can be assigned roles and privileges across various enterprise databases registered with the directory. This gives the ability to centrally manage database users and their authorizations in one central place.</p>
<p><strong>Oracle Database Vault (ODV &#8211; Database Security Option)</strong><br />
ODV is a Database Security option that reduces the risk of insider and outsider threats and addresses common compliance requirements by:<br />
&#8211; Preventing privileged users (DBA) from accessing sensitive application data<br />
&#8211; Preventing compromised privileged users accounts from being used to steal sensitive data or make unauthorized changes to databases and applications<br />
&#8211; Providing strong controls inside the database over who can do what and controls over when and how applications, data and databases can be accessed<br />
&#8211; Providing privilege analysis for all users and applications inside the database to help achieve least privilege model and make the databases and applications more secure<br />
ODV has been certified with numerous enterprise applications including E-Business Suite, PeopleSoft, Siebel, and SAP. The certification includes out-of-the-box security policies specific for each application.</p>
<p><strong>Oracle Advanced Security (OAS &#8211; Database Security Option)</strong><br />
OAS is a database security option that provides two important preventive controls to protect sensitive data at the source including database encryption (Transparent Data Encryption (TDE)) and on-the-fly redaction of display data. TDE stops would-be attackers from bypassing the database and reading sensitive information directly from storage. Data Redaction complements TDE by reducing the risk of unauthorized data exposure in applications, redacting sensitive data before it leaves the database. Together these two controls form the foundation of Oracle’s defense-in-depth, multi-layered database security solution.</p>
<p><strong>Oracle Label Security (OLS &#8211; Database Security Option)</strong><br />
OLS is a database security option and provide multi-level security capabilities within the Oracle Database. OLS provides the ability to tag data with a data label or a data classification. These data labels can be collected in label security policies. This capability allows the database to inherently know what data is sensitive and allows the sensitive data to be combined in the same table as the larger data set without compromising security.</p>
]]></content:encoded>
					
					<wfw:commentRss>https://bluegecko.dk/how-to-secure-and-audit-unauthorized-data-access/feed/</wfw:commentRss>
			<slash:comments>0</slash:comments>
		
		
			</item>
	</channel>
</rss>

<!--
Performance optimized by W3 Total Cache. Learn more: https://www.boldgrid.com/w3-total-cache/

Object Caching 74/103 objects using disk
Page Caching using disk: enhanced 

Served from: bluegecko.dk @ 2026-10-17 02:48:11 by W3 Total Cache
-->