Skip to content

DATAMINT SCOPE · BULK QUERY DETECTION AT THE WAS

Bulk queries of personal data through the WAS,
found right away.

DataMint Scope attaches an agent to the web application server (WAS) and watches queries of personal data, with no changes to application code. When one query returns a lot, when queries add up in a short time, or when a never-seen SQL statement touches personal data, Scope records it in the admin console and alerts the person in charge right away.

Scope is a product of the DataMint on-premises platform. One install holds Core, Cover and Scope, and you activate the products you need.

Personal data queries through the WASDetection concept
Web applicationWASDataMint ScopeDBPersonal data

Scope does not look at the values in query results. It records only the count and the query shape.

CountQuery shape

It detects abnormal queries caused by hacking attacks, and records the count and the query shape.

COVERAGE

DB access and storage are protected.
Bulk queries through the WAS are still a risk.

DB access control and DB encryption each have their own role. Scope has a complementary role: finding bulk queries of personal data made through the web application.

  • A person connects to the DB with a tool

    Person · DB tool → DB

    COVERED BYDB access controlManages the paths that connect directly to the DB.

  • Stored data

    Data stored inside the DB

    COVERED BYDB encryptionProtects the stored data itself.

  • Queries through the web application

    Web application · WAS → DB

    COVERED BYDataMint ScopeDetects bulk queries and alerts the person in charge right away.

DB access control and encryption stay in place. Scope complements them by covering the risk of a bulk leak through the web application.

DETECTION

It looks for the traces of an attack.
It alerts on three signals.

Limits, personal data columns and exceptions are set in the admin console, and they apply to every WAS within one minute.

  1. 01Volume of one query

    A bulk query at once

    When one query result has more personal data rows than the limit.

    Checks the row count of one result

  2. 02Accumulated volume

    Accumulation in a short time

    When the volume the same user builds up over a short time goes over the limit.

    Checks the accumulated volume of the same user

  3. 03A change in query shape

    A never-seen SQL statement

    When SQL that was not there during the learning period touches a personal data column (SQL injection, for example).

    Checks for unfamiliar SQL shapes

LIVE DETECTION

Queries unlike the usual ones,
noticed as they pass.

For every query that goes through the web application server (WAS), Scope counts only the personal data rows and the SQL shape. A lot at once, a lot in pieces, or in a way never seen before. If any one of the three signals fires, the security officer is alerted.

DataMint ScopeWaiting
Queries through the WAS · latest 7, newest on top · result values are not read
TimeUserRowsVerdict
Waiting for queries…
  • Result limit exceededBulk query in one resultWatching

    Largest result 0 rows / limit 100 rows

  • Session total exceededBulk query in pieces · 10 minWatching

    cs_jung 10-minute total 0 rows / limit 500 rowsEven when each query is split to stay under the limit

  • Never-seen SQLRegardless of row countWatching

    Compared with 214 learned SQL shapesWhen a shape never seen before touches personal data

The record holds no values. Only the time, user, screen path, SQL shape and row count are kept, so the detection log does not become another store of personal data. Responses are not changed, so work goes on as usual.

Limits are set per business task in the admin console, and legitimate bulk work (batch jobs, approved SQL) is set as an exception. On phone screens the path and SQL columns are left out.

IN THE CONSOLE

From detection to operations,
in one admin console.

Scope is operated from the same DataMint admin console as Core and Cover. These are real screens, with demo data. (The console is shown in Korean.)

  • DataMint Scope console, Dashboard screen (real screen in Korean, demo data)
    DashboardThe current protection status (number of healthy WAS instances, policy, paused evaluation). Detections, bulk-query rows, users involved, never-seen SQL and off-hours detections compared with the previous period. The daily trend and share by rule. Below that: distribution by weekday and hour, by WAS, rankings by user, path and SQL, and the largest queries.
  • DataMint Scope console, Detection events screen (real screen in Korean, demo data)
    Detection eventsUser, source IP, path, SQL shape (with the values removed) and count. SQL that belongs to normal work can be approved on the spot.
  • DataMint Scope console, Policy and exceptions screen (real screen in Korean, demo data)
    Policy and exceptionsSet the personal data columns and the limits, and they apply to every WAS within one minute. Batch paths and accounts are set as exceptions with an expiry date.
  • DataMint Scope console, Agent status screen (real screen in Korean, demo data)
    Agent statusEach WAS is registered and issued its own token. The screen shows disconnections and outdated policies, and lets you pause evaluation or reissue a token.

Operations

  1. 01Immediate alertsA detection raises an alert on the security officer's screen. Scope also sends it by webhook (SIEM, monitoring, messenger), syslog and email.
  2. 02No values keptScope does not read or store the values in query results. It keeps only the user, path, SQL shape and count.
  3. 03Pause evaluation from the consoleDuring incident response, pause it for one WAS or for all of them within one minute. Work goes on as usual.
  4. 04A dedicated token for each WASA token is shown only once and only its hash is stored. If one leaks, only that WAS is reissued or revoked.
  5. 05An audit trail that covers viewingWho viewed the detection events and who changed policies and exceptions, with the values before and after. The retention period is a setting.
  6. 06Separation of dutiesThe role that views detections is separate from the role that changes policies, exceptions and agents.

Install environment

  • No code changesOne -javaagent line in the WAS startup options. JDK 8 or later.
  • Verified environmentsTomcat 9, WildFly 26 (the base of JBoss EAP 7.4), and running alongside Scouter APM. JEUS and WebLogic are verified in the customer's environment.
  • One-way connectionWAS → admin server, on one port. No new port is opened on the WAS.
  • Same install, same consoleScope uses the same install and admin console as Core and Cover.

PHASED ADOPTION

First confirm the risk,
then reduce bulk leaks.

Today Scope detects and alerts. It does not block queries and does not change query results.

  1. 01Stage 1: Detection · Available now

    Change nothing, and record the risk first

    Without changing query results, Scope records the queries that should have been stopped, so you first confirm the real risk and the false positives.

    CONFIRM FIRSTReal risk · False positives · Thresholds for a bulk leak

  2. 02Stage 2: Response · In preparation

    Over a confirmed threshold, test data instead

    In this stage, personal data in query results that go over the threshold is replaced with test data before the result is returned. We are preparing it together with customers who have confirmed their thresholds well enough through detection records.

    NEXT VERSION · IN PREPARATIONConfirm thresholds with detection records → Replace with test data

AVAILABILITY FIRST

The service comes first.
Security is the complement.

If Scope has a problem, it puts the service first: it gives up protection for a while and keeps the customer service running.

It does not make service requests wait, and it does not return errors.

Keeping the customer service running comes first.

Scope does not look at the values in query results. It records only the count and the query shape.

Count
Recorded
Query shape
Recorded

Query result values and row contents are not stored. Only the count and the query shape are recorded.

CONTACT DATAMINT

Bulk queries of personal data
through the web application.

Talk to us about the detection thresholds and the way of operating that fit your WAS environment.

Both buttons go to the contact form on the home page.