3.14 LAB: Detecting Network Change (files and lists) Securing a network from attacks means a network administrator is watching traffic and user activity. Change detection (CD) is a method used to track changes in your network. CD can detect files accessed during off hours to more complex algorithmic detections added to software applications that manage this process. This program is going to manage user login times and attempt to detect any change in a users typical login attempts. It will use an input file to store data and read the file using the csv.reader() method. The file will contain a list of login_names, followed by login_time separated by commas. Write a program that first reads in the name of an input file, reads the information stored in that file and determines if the user login has occurred at off hour times. The company employees work from 9 am to 5 pm so any other time would be an off hour login attempt. If the login attempt is made after hours, store the user name and login time in a dictionary with the user name as the key. Display all anomaly attempts at the end of the program. If there are no questionable login attempts display No anomaly login attempts Ex: If the input is: input1.csv and the contents of input1.csv are: (store time as integers and use military time to simulate am and pm attempts) bob, 2, paula, 1, nancy, 8, thomas, 23, zach, 22, charlotte, 4 the output is: Anomaly login attempts: nancy: 8 thomas: 23 zach:22 charlotte: 4 Ex: If the input is: input2.csv and the contents of input2.csv are: (store time as integers and use military time to simulate am and pm attempts) the output is: No anomaly login attempts Note: There is a newline at the end of the output, and input1.csv is available to download. 424226.2316138.qx3zqy7

Database System Concepts
7th Edition
ISBN:9780078022159
Author:Abraham Silberschatz Professor, Henry F. Korth, S. Sudarshan
Publisher:Abraham Silberschatz Professor, Henry F. Korth, S. Sudarshan
Chapter1: Introduction
Section: Chapter Questions
Problem 1PE
icon
Related questions
icon
Concept explainers
Question

3.14 LAB: Detecting Network Change (files and lists)

Please help!

Please see pic attached.

Securing a network from attacks means a network administrator is watching traffic and user activity. Change detection (CD) is a method used to track changes in your network. CD can detect files accessed during off hours to more complex algorithmic detections added to software applications that manage this process.

This program is going to manage user login times and attempt to detect any change in a users typical login attempts. It will use an input file to store data and read the file using the csv.reader( ) method. The file will contain a list of login_names, followed by login_time separated by commas.

Write a program that first reads in the name of an input file, reads the information stored in that file and determines if the user login has occurred at off hour times. The company employees work from 9 am to 5 pm so any other time would be an off hour login attempt. If the login attempt is made after hours, store the user name and login time in a dictionary with the user name as the key. Display all anomaly attempts at the end of the program. If there are no questionable login attempts display No anomaly login attempts

Ex: If the input is:

input1.csv

and the contents of input1.csv are: (store time as integers and use military time to simulate am and pm attempts)

bob,2,paula,1,nancy,8,thomas,23,zach,22,charlotte,4

the output is:

Anomaly login attempts:

nancy:8

thomas:23

zach:22

charlotte:4

Ex: If the input is:

input2.csv

and the contents of input2.csv are: (store time as integers and use military time to simulate am and pm attempts)

the output is:

No anomaly login attempts

Note: There is a newline at the end of the output, and input1.csv is available to download.

3.14 LAB: Detecting Network Change (files and lists)
Securing a network from attacks means a network administrator is watching traffic and user activity. Change detection (CD) is a method
used to track changes in your network. CD can detect files accessed during off hours to more complex algorithmic detections added to
software applications that manage this process.
This program is going to manage user login times and attempt to detect any change in a users typical login attempts. It will use an input file
to store data and read the file using the csv.reader() method. The file will contain a list of login_names, followed by login_time separated by
commas.
Write a program that first reads in the name of an input file, reads the information stored in that file and determines if the user login has
occurred at off hour times. The company employees work from 9 am to 5 pm so any other time would be an off hour login attempt. If the
login attempt is made after hours, store the user name and login time in a dictionary with the user name as the key. Display all anomaly
attempts at the end of the program. If there are no questionable login attempts display No anomaly login attempts
Ex: If the input is:
input1.csv
and the contents of input1.csv are: (store time as integers and use military time to simulate am and pm attempts)
bob, 2, paula, 1, nancy, 8, thomas, 23, zach, 22, charlotte, 4
the output is:
Anomaly login attempts:
nancy: 8
thomas: 23
zach:22
charlotte: 4
Ex: If the input is:
input2.csv
and the contents of input2.csv are: (store time as integers and use military time to simulate am and pm attempts)
the output is:
No anomaly login attempts
Note: There is a newline at the end of the output, and input1.csv is available to download.
424226.2316138.qx3zqy7
Transcribed Image Text:3.14 LAB: Detecting Network Change (files and lists) Securing a network from attacks means a network administrator is watching traffic and user activity. Change detection (CD) is a method used to track changes in your network. CD can detect files accessed during off hours to more complex algorithmic detections added to software applications that manage this process. This program is going to manage user login times and attempt to detect any change in a users typical login attempts. It will use an input file to store data and read the file using the csv.reader() method. The file will contain a list of login_names, followed by login_time separated by commas. Write a program that first reads in the name of an input file, reads the information stored in that file and determines if the user login has occurred at off hour times. The company employees work from 9 am to 5 pm so any other time would be an off hour login attempt. If the login attempt is made after hours, store the user name and login time in a dictionary with the user name as the key. Display all anomaly attempts at the end of the program. If there are no questionable login attempts display No anomaly login attempts Ex: If the input is: input1.csv and the contents of input1.csv are: (store time as integers and use military time to simulate am and pm attempts) bob, 2, paula, 1, nancy, 8, thomas, 23, zach, 22, charlotte, 4 the output is: Anomaly login attempts: nancy: 8 thomas: 23 zach:22 charlotte: 4 Ex: If the input is: input2.csv and the contents of input2.csv are: (store time as integers and use military time to simulate am and pm attempts) the output is: No anomaly login attempts Note: There is a newline at the end of the output, and input1.csv is available to download. 424226.2316138.qx3zqy7
Expert Solution
trending now

Trending now

This is a popular solution!

steps

Step by step

Solved in 4 steps with 4 images

Blurred answer
Knowledge Booster
Control Structure
Learn more about
Need a deep-dive on the concept behind this application? Look no further. Learn more about this topic, computer-science and related others by exploring similar questions and additional content below.
Recommended textbooks for you
Database System Concepts
Database System Concepts
Computer Science
ISBN:
9780078022159
Author:
Abraham Silberschatz Professor, Henry F. Korth, S. Sudarshan
Publisher:
McGraw-Hill Education
Starting Out with Python (4th Edition)
Starting Out with Python (4th Edition)
Computer Science
ISBN:
9780134444321
Author:
Tony Gaddis
Publisher:
PEARSON
Digital Fundamentals (11th Edition)
Digital Fundamentals (11th Edition)
Computer Science
ISBN:
9780132737968
Author:
Thomas L. Floyd
Publisher:
PEARSON
C How to Program (8th Edition)
C How to Program (8th Edition)
Computer Science
ISBN:
9780133976892
Author:
Paul J. Deitel, Harvey Deitel
Publisher:
PEARSON
Database Systems: Design, Implementation, & Manag…
Database Systems: Design, Implementation, & Manag…
Computer Science
ISBN:
9781337627900
Author:
Carlos Coronel, Steven Morris
Publisher:
Cengage Learning
Programmable Logic Controllers
Programmable Logic Controllers
Computer Science
ISBN:
9780073373843
Author:
Frank D. Petruzella
Publisher:
McGraw-Hill Education