Skip to content

Commit 0eba2af

Browse files
committed
feat: add multipart upload to iteration benchmark
1 parent 9ad1eeb commit 0eba2af

1 file changed

Lines changed: 61 additions & 1 deletion

File tree

scenarios/iteration-test/scenario.yaml

Lines changed: 61 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,8 @@ description: |
1414
explicit on-prem email topology, SMTP routing, corpus-backed message bodies,
1515
MIME artifacts, distribution groups, Bcc handling, STARTTLS visibility, ISP relay
1616
egress, inbound/outbound/internal mail, explicit mailbox reads, rejected mail,
17-
and deterministic background email traffic.
17+
and deterministic background email traffic. This benchmark epoch also adds one
18+
representative benign cleartext multipart support upload through the explicit proxy.
1819
1920
environment:
2021
description: "Meridian Healthcare Solutions corporate HQ and on-prem data center"
@@ -143,6 +144,11 @@ environment:
143144
ips: ["91.189.91.82"]
144145
tags: ["software", "package_repository", "external"]
145146
dns: true
147+
- id: valeworks_support
148+
hosts: ["support.valeworks-health.net"]
149+
ips: ["52.44.186.73"]
150+
tags: ["web", "vendor", "support", "external"]
151+
dns: true
146152

147153
systems:
148154
- hostname: WS-LNGUYEN-01
@@ -510,6 +516,60 @@ red_herrings:
510516
technique: "Benign - Package Maintenance"
511517
description: "Expected APT metadata retrieval that produces a policy false positive"
512518

519+
- id: rh-004
520+
time: "+3h32m"
521+
actor: lina.nguyen
522+
system: WS-LNGUYEN-01
523+
activity: "Developer uploads EHR connector diagnostics to a vendor support case"
524+
explanation: "Lina attached a routine diagnostics bundle to an existing vendor support case while troubleshooting an integration issue."
525+
event_spacing:
526+
mode: automated
527+
min_delay: "2s"
528+
max_delay: "5s"
529+
events:
530+
- type: process
531+
process_name: "/usr/bin/tar"
532+
command_line: >-
533+
/usr/bin/tar -czf /tmp/mhs-support-48217.tar.gz
534+
/var/log/ehr-connector/connector.log /var/log/ehr-connector/queue.log
535+
technique: "Benign - Vendor Support"
536+
description: "Create a compressed diagnostics bundle for the support case"
537+
- type: process
538+
process_name: "/usr/bin/curl"
539+
command_line: >-
540+
/usr/bin/curl --fail --silent --show-error
541+
--proxy http://proxy.meridianhcs.com:8080
542+
--form 'metadata={"ticket":"MHS-48217","component":"ehr-connector"};type=application/json'
543+
--form 'diagnostics=@/tmp/mhs-support-48217.tar.gz;type=application/gzip'
544+
http://support.valeworks-health.net/api/v1/cases/MHS-48217/attachments
545+
technique: "Benign - Vendor Support"
546+
description: "Upload ticket metadata and the diagnostics archive to vendor support"
547+
- type: connection
548+
dst_ip: "52.44.186.73"
549+
dst_port: 80
550+
hostname: "support.valeworks-health.net"
551+
service: http
552+
method: POST
553+
uri: "/api/v1/cases/MHS-48217/attachments"
554+
status_code: 200
555+
user_agent: "curl/7.81.0"
556+
request_multipart:
557+
media_type: multipart/form-data
558+
parts:
559+
- name: metadata
560+
value: '{"ticket":"MHS-48217","component":"ehr-connector"}'
561+
content_type: application/json
562+
detected_mime_type: application/json
563+
- name: diagnostics
564+
body_len: 1572864
565+
local_source_path: /tmp/mhs-support-48217.tar.gz
566+
filename: mhs-support-48217.tar.gz
567+
content_type: application/gzip
568+
detected_mime_type: application/gzip
569+
response_body_len: 96
570+
technique: "Benign - Vendor Support"
571+
description: "Vendor support accepts the multipart diagnostics upload"
572+
513573
- id: rh-002
514574
time: "+5h10m"
515575
actor: marcus.chen

0 commit comments

Comments
 (0)