InDesign is primarily a layout tool, so it has those framing tools built into the program.
This page explains the difference between the Selection tool and the Direct Selection tool. It is a little tricky to grab onto the right thing at first, but you'll soon understand how it works. Anything you place into InDesign will have the anchor points around it. If you don't care for cropping the image, just size it to match the content
This part in particular of that page I just linked goes into detail about how to differentiate the frame from the content:
Note: An imported graphic is always contained within a frame. It’s
possible to select the graphic and its frame, the graphic only, or its
frame only. The frame and bounding box of an imported graphic can be
different sizes. To see how InDesign indicates what’s selected, see
Modifying objects using graphics frames.
Bounding box selected (left) compared to rectangular path selected
(right) With rectangular objects, it can be difficult to tell the
difference between the object’s bounding box and the path of the
object itself. A bounding box always displays eight large hollow
anchor points. A rectangular path always displays four small anchor
points (which can be hollow or solid).
In short, those masks are what InDesign is all about!